[Ffmpeg-cvslog] r8512 - trunk/libavformat/mov.c

bcoudurier subversion
Sun Mar 25 17:06:50 CEST 2007


Author: bcoudurier
Date: Sun Mar 25 17:06:50 2007
New Revision: 8512

Modified:
   trunk/libavformat/mov.c

Log:
dont fail immediately when a somehow broken track is detected, some tracks might be good, fix mi2_vorbis51.mp4

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Sun Mar 25 17:06:50 2007
@@ -1508,7 +1508,7 @@ static int mov_read_header(AVFormatConte
         if(!sc->stts_count || !sc->chunk_count || !sc->sample_to_chunk_sz ||
            (!sc->sample_size && !sc->sample_count)){
             av_log(s, AV_LOG_ERROR, "missing mandatory atoms, broken header\n");
-            return -1;
+            continue;
         }
         if(!sc->time_rate)
             sc->time_rate=1;




More information about the ffmpeg-cvslog mailing list