[vlc-commits] avcodec: fix avutil version check

Rafaël Carré git at videolan.org
Thu May 3 17:57:14 CEST 2012


vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 29 17:55:07 2012 -0500| [d538309b82af1610760681044a65083355c9aa58] | committer: Jean-Baptiste Kempf

avcodec: fix avutil version check

ffmpeg/libav doc/APIchanges should not be relied upon
(cherry picked from commit 7f510436afb80e7c4bc4a563c7f385c7fb289749)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/avcodec/audio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index dbe2bed..c782bb9 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -41,7 +41,7 @@
 #   include <avcodec.h>
 #endif
 
-#if LIBAVUTIL_VERSION_INT >= ((52<<16)+(38<<8)+0)
+#if LIBAVUTIL_VERSION_INT >= ((50<<16)+(38<<8)+0)
 # include "libavutil/audioconvert.h"
 #endif
 



More information about the vlc-commits mailing list