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;