From c25e9292ba5b5d4f2ba52004d3593a1dafdfe427 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Fri, 26 Oct 2012 14:40:04 +0800 Subject: [PATCH] fix a compiling error with llvm-gcc Move some #include in vda.h down to prevent libavutil headers from interfering with system headers Signed-off-by: Michael Niedermayer --- libavcodec/vda.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/vda.h b/libavcodec/vda.h index ccbf3752cf..de7070edea 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 -#endif - #include // emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes @@ -45,6 +39,12 @@ #include #undef Picture +#include "libavcodec/version.h" + +#if FF_API_VDA_ASYNC +#include +#endif + /** * @defgroup lavc_codec_hwaccel_vda VDA * @ingroup lavc_codec_hwaccel