diff --git a/config.tests/videotoolbox/main.cpp b/config.tests/videotoolbox/main.cpp index 3fb6be8d..7d51f6da 100644 --- a/config.tests/videotoolbox/main.cpp +++ b/config.tests/videotoolbox/main.cpp @@ -1,6 +1,6 @@ /****************************************************************************** QtAV: Media play library based on Qt and FFmpeg - Copyright (C) 2012-2016 Wang Bin + Copyright (C) 2012-2018 Wang Bin * This file is part of QtAV @@ -18,11 +18,14 @@ License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ******************************************************************************/ +#ifndef __APPLE__ +#error apple only +#endif extern "C" { #include } int main() { - av_videotoolbox_alloc_context(); + //av_videotoolbox_alloc_context(); return 0; }