[vlc-commits] Avcodec: fix compilation with some FFmpeg versions

Jean-Baptiste Kempf git at videolan.org
Sun Mar 1 15:06:22 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar  1 15:05:56 2015 +0100| [512139626cf3ec963a95bdd40bd15750dfca93af] | committer: Jean-Baptiste Kempf

Avcodec: fix compilation with some FFmpeg versions

Close #12135

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=512139626cf3ec963a95bdd40bd15750dfca93af
---

 modules/codec/avcodec/avcommon_compat.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h
index e961242..77ca979 100644
--- a/modules/codec/avcodec/avcommon_compat.h
+++ b/modules/codec/avcodec/avcommon_compat.h
@@ -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>
 



More information about the vlc-commits mailing list