mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
dont fail immediately when a somehow broken track is detected, some tracks might be good, fix mi2_vorbis51.mp4
Originally committed as revision 8512 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2975ca0ab6
commit
b0c17f7776
@ -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 ||
|
||||
(!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;
|
||||
|
Loading…
Reference in New Issue
Block a user