[FFmpeg-devel] [PATCH] fix a compiling error with llvm-gcc
Xidorn Quan
quanxunzhen at gmail.com
Fri Oct 26 08:40:04 CEST 2012
Move some #include in vda.h down to prevent some compiling errors
which complain the lack of something like please_use_av_free.
---
libavcodec/vda.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vda.h b/libavcodec/vda.h
index ccbf375..de7070e 100644
--- a/libavcodec/vda.h
+++ b/libavcodec/vda.h
@@ -29,12 +29,6 @@
* 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
@@ -45,6 +39,12 @@
#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
--
1.7.10.2 (Apple Git-33)
More information about the ffmpeg-devel
mailing list