diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DllAvUtil.h | 9 | ||||
-rw-r--r-- | lib/xbmc-libav-hacks/libav_hacks.h | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/lib/DllAvUtil.h b/lib/DllAvUtil.h index 71900c5b6c..26dd95294d 100644 --- a/lib/DllAvUtil.h +++ b/lib/DllAvUtil.h @@ -62,14 +62,7 @@ extern "C" { #endif } -#if LIBAVUTIL_VERSION_MICRO >= 100 - #define LIBAVUTIL_FROM_FFMPEG -#else - #define LIBAVUTIL_FROM_LIBAV -#endif - -#if (defined LIBAVUTIL_FROM_FFMPEG && LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52,29,100)) || \ - (defined LIBAVUTIL_FROM_LIBAV && LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52,8,0)) +#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52,29,100) #define AVFRAME_IN_LAVU #endif diff --git a/lib/xbmc-libav-hacks/libav_hacks.h b/lib/xbmc-libav-hacks/libav_hacks.h index 84ae3d0605..46fa6c93fb 100644 --- a/lib/xbmc-libav-hacks/libav_hacks.h +++ b/lib/xbmc-libav-hacks/libav_hacks.h @@ -37,6 +37,8 @@ // libavutil +#define AVFRAME_IN_LAVU + #define AV_CODEC_ID_OTF AV_CODEC_ID_TTF AVDictionary *av_frame_get_metadata (const AVFrame *frame); |