[FFmpeg-cvslog] avidec: Ignore unknown stream types
ami_stuff
git at videolan.org
Sun Jun 19 03:58:28 CEST 2011
ffmpeg | branch: master | ami_stuff <ami_stuff at o2.pl> | Sun Jun 19 01:47:25 2011 +0200| [799a87d749b473a2ab2494daef905e5129c5c056] | committer: Michael Niedermayer
avidec: Ignore unknown stream types
Improves ticket131
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=799a87d749b473a2ab2494daef905e5129c5c056
---
libavformat/avidec.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 0bcdd3f..72ea9e2 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;
More information about the ffmpeg-cvslog
mailing list