diff options
author | ami_stuff <ami_stuff@o2.pl> | 2011-06-19 01:47:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-19 03:54:16 +0200 |
commit | 799a87d749b473a2ab2494daef905e5129c5c056 (patch) | |
tree | 7664c94cd36973b0ffb7754b979f3bab9b97fc77 /libavformat/avidec.c | |
parent | a4233d1f95bfc5b9b0fd08f0aaafdd20b1c4dae0 (diff) | |
download | ffmpeg-799a87d749b473a2ab2494daef905e5129c5c056.tar.gz |
avidec: Ignore unknown stream types
Improves ticket131
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 3 |
1 files changed, 1 insertions, 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; |