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 <michaelni@gmx.at>
This commit is contained in:
parent
1909dbf11d
commit
c25e9292ba
@ -29,12 +29,6 @@
|
|||||||
* Public libavcodec VDA header.
|
* Public libavcodec VDA header.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libavcodec/version.h"
|
|
||||||
|
|
||||||
#if FF_API_VDA_ASYNC
|
|
||||||
#include <pthread.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
|
// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
|
||||||
@ -45,6 +39,12 @@
|
|||||||
#include <VideoDecodeAcceleration/VDADecoder.h>
|
#include <VideoDecodeAcceleration/VDADecoder.h>
|
||||||
#undef Picture
|
#undef Picture
|
||||||
|
|
||||||
|
#include "libavcodec/version.h"
|
||||||
|
|
||||||
|
#if FF_API_VDA_ASYNC
|
||||||
|
#include <pthread.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup lavc_codec_hwaccel_vda VDA
|
* @defgroup lavc_codec_hwaccel_vda VDA
|
||||||
* @ingroup lavc_codec_hwaccel
|
* @ingroup lavc_codec_hwaccel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user