]> git.sesse.net Git - vlc/commitdiff
Avcodec: CODEC_ID_MP4ALS was only introduced in 52.26.0
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 26 Mar 2010 10:36:58 +0000 (11:36 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 26 Mar 2010 10:36:58 +0000 (11:36 +0100)
So it won't break on old system, like your debian :D

modules/codec/avcodec/fourcc.c

index 3fc7a600a3bbaf61dfb9a8d2af4dbf0881a0fe8e..e55df837152b3fe1a177423bee39890a05e5e649 100644 (file)
@@ -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 },