Browse Source

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>
tags/n1.1
Xidorn Quan Michael Niedermayer 13 years ago
parent
commit
c25e9292ba
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      libavcodec/vda.h

+ 6
- 6
libavcodec/vda.h View File

@@ -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


Loading…
Cancel
Save