[FFmpeg-cvslog] r13437 - trunk/libavformat/mov.c

bcoudurier subversion
Mon May 26 23:52:55 CEST 2008


Author: bcoudurier
Date: Mon May 26 23:52:54 2008
New Revision: 13437

Log:
aac chan config is 0 if bitstream contains program_config_element

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Mon May 26 23:52:54 2008
@@ -408,7 +408,7 @@ static int mov_read_esds(MOVContext *c, 
                 MPEG4AudioConfig cfg;
                 ff_mpeg4audio_get_config(&cfg, st->codec->extradata,
                                          st->codec->extradata_size);
-                if (!cfg.chan_config || cfg.chan_config > 7)
+                if (cfg.chan_config > 7)
                     return -1;
                 st->codec->channels = ff_mpeg4audio_channels[cfg.chan_config];
                 if (cfg.object_type == 29 && cfg.sampling_index < 3) // old mp3on4




More information about the ffmpeg-cvslog mailing list