[vlc-commits] avcodec: don't include non existing header

Rafaël Carré git at videolan.org
Sun Jan 29 10:18:05 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 29 04:14:20 2012 -0500| [b3a6617f9d6a0ddff58ec72871b02dbf98fb4f37] | committer: Rafaël Carré

avcodec: don't include non existing header

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

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

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



More information about the vlc-commits mailing list