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) ...@@ -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;
......
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