[vlc-commits] commit: Avcodec: CODEC_ID_MP4ALS was only introduced in 52.26.0 ( Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Fri Mar 26 11:40:50 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 26 11:36:58 2010 +0100| [1fd91b99db7a1a8cde276fa9767c428f4c07e5cc] | committer: Jean-Baptiste Kempf 

Avcodec: CODEC_ID_MP4ALS was only introduced in 52.26.0

So it won't break on old system, like your debian :D

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

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

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 3fc7a60..e55df83 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -296,7 +296,9 @@ static const struct
     { VLC_CODEC_MPGA, CODEC_ID_MP3, AUDIO_ES },
 
     { VLC_CODEC_MP4A, CODEC_ID_AAC, AUDIO_ES },
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 26, 0 )
     { VLC_CODEC_ALS, CODEC_ID_MP4ALS, AUDIO_ES },
+#endif
 
     { VLC_CODEC_INTERPLAY_DPCM, CODEC_ID_INTERPLAY_DPCM, AUDIO_ES },
 



More information about the vlc-commits mailing list