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

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 04:14:20 2012 -0500| [474e7ac066a8d8078b80ea4295b36ae67af8912b] | committer: Jean-Baptiste Kempf

avcodec: don't include non existing header
(cherry picked from commit b3a6617f9d6a0ddff58ec72871b02dbf98fb4f37)

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

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

 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