]> git.sesse.net Git - vlc/commitdiff
Avcodec: fix compilation with some FFmpeg versions
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 1 Mar 2015 14:05:56 +0000 (15:05 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 1 Mar 2015 14:05:56 +0000 (15:05 +0100)
Close #12135

modules/codec/avcodec/avcommon_compat.h

index e9612427404c6283182ea8f4933163285d00efa5..77ca979e41c800d8f4ecc038c015087fc2ced93a 100644 (file)
@@ -36,7 +36,7 @@
     ( (LIBAVCODEC_VERSION_MICRO <  100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, b, c ) ) || \
       (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, d, e ) ) )
 
-# if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 52, 0))
+#if !LIBAVCODEC_VERSION_CHECK( 55, 52, 0, 63, 100 )
 
 #include <libavutil/mem.h>