1
0
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:
Baptiste Coudurier 2007-03-25 15:06:50 +00:00
parent 2975ca0ab6
commit b0c17f7776

View File

@ -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;