diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-03-25 15:06:50 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-03-25 15:06:50 +0000 |
commit | b0c17f7776337aba78e1bda10e747cb7cf5eb446 (patch) | |
tree | 3edc0fb3299e503a08f51dbecda8f4457381afc2 /libavformat | |
parent | 2975ca0ab6734566ad2120264a9ffc419e500b6e (diff) | |
download | ffmpeg-b0c17f7776337aba78e1bda10e747cb7cf5eb446.tar.gz |
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
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 209cc74de8..bca18e6787 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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; |