mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avidec: Ignore unknown stream types
Improves ticket131 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a4233d1f95
commit
799a87d749
@ -554,8 +554,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||||||
codec_type = AVMEDIA_TYPE_DATA;
|
codec_type = AVMEDIA_TYPE_DATA;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
av_log(s, AV_LOG_ERROR, "unknown stream type %X\n", tag1);
|
av_log(s, AV_LOG_INFO, "unknown stream type %X\n", tag1);
|
||||||
goto fail;
|
|
||||||
}
|
}
|
||||||
if(ast->sample_size == 0)
|
if(ast->sample_size == 0)
|
||||||
st->duration = st->nb_frames;
|
st->duration = st->nb_frames;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user