changeset 1950:4ef37f929c21 libavformat

dont fail immediately when a somehow broken track is detected, some tracks might be good, fix mi2_vorbis51.mp4
author bcoudurier
date Sun, 25 Mar 2007 15:06:50 +0000
parents 18891c1e3e46
children f5388fb80421
files mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Sun Mar 25 01:11:00 2007 +0000
+++ b/mov.c	Sun Mar 25 15:06:50 2007 +0000
@@ -1508,7 +1508,7 @@
         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;