mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-29 22:40:23 +00: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;
|
||||
break;
|
||||
default:
|
||||
av_log(s, AV_LOG_ERROR, "unknown stream type %X\n", tag1);
|
||||
goto fail;
|
||||
av_log(s, AV_LOG_INFO, "unknown stream type %X\n", tag1);
|
||||
}
|
||||
if(ast->sample_size == 0)
|
||||
st->duration = st->nb_frames;
|
||||
|
Loading…
Reference in New Issue
Block a user