From 799a87d749b473a2ab2494daef905e5129c5c056 Mon Sep 17 00:00:00 2001 From: ami_stuff Date: Sun, 19 Jun 2011 01:47:25 +0200 Subject: [PATCH] avidec: Ignore unknown stream types Improves ticket131 Signed-off-by: Michael Niedermayer --- libavformat/avidec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 0bcdd3fdec..72ea9e2944 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -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;