Commit 72e7b34f authored by bcoudurier's avatar bcoudurier

dont fail immediately when a somehow broken track is detected, some tracks...

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8512 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 33717bf0
...@@ -1508,7 +1508,7 @@ static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -1508,7 +1508,7 @@ static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
if(!sc->stts_count || !sc->chunk_count || !sc->sample_to_chunk_sz || if(!sc->stts_count || !sc->chunk_count || !sc->sample_to_chunk_sz ||
(!sc->sample_size && !sc->sample_count)){ (!sc->sample_size && !sc->sample_count)){
av_log(s, AV_LOG_ERROR, "missing mandatory atoms, broken header\n"); av_log(s, AV_LOG_ERROR, "missing mandatory atoms, broken header\n");
return -1; continue;
} }
if(!sc->time_rate) if(!sc->time_rate)
sc->time_rate=1; sc->time_rate=1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment