]> git.sesse.net Git - ffmpeg/commitdiff
fix a compiling error with llvm-gcc
authorXidorn Quan <quanxunzhen@gmail.com>
Fri, 26 Oct 2012 06:40:04 +0000 (14:40 +0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Oct 2012 02:32:40 +0000 (04:32 +0200)
Move some #include in vda.h down to prevent libavutil headers
from interfering with system headers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vda.h

index ccbf3752cf6a56e75d88d42d324e7badc73c4a8c..de7070edea40850a5dd79f3d7cbf5aee7369fed8 100644 (file)
  * Public libavcodec VDA header.
  */
 
-#include "libavcodec/version.h"
-
-#if FF_API_VDA_ASYNC
-#include <pthread.h>
-#endif
-
 #include <stdint.h>
 
 // emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
 #include <VideoDecodeAcceleration/VDADecoder.h>
 #undef Picture
 
+#include "libavcodec/version.h"
+
+#if FF_API_VDA_ASYNC
+#include <pthread.h>
+#endif
+
 /**
  * @defgroup lavc_codec_hwaccel_vda VDA
  * @ingroup lavc_codec_hwaccel