Commit 799a87d7 authored by ami_stuff's avatar ami_stuff Committed by Michael Niedermayer

avidec: Ignore unknown stream types

Improves ticket131
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a4233d1f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment