vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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>
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to