Commit c25e9292 authored by Xidorn Quan's avatar Xidorn Quan Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1909dbf1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment