From 752040924503695dac18d1068a4b6b759a68f3d4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 30 May 2004 01:04:50 +0000 Subject: [PATCH] 10l Originally committed as revision 3174 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avidec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 024488d09e..029bb429ff 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -325,6 +325,9 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec.codec_id = CODEC_ID_XAN_DPCM; break; default: + st->codec.codec_type = CODEC_TYPE_DATA; + st->codec.codec_id= CODEC_ID_NONE; + st->codec.codec_tag= 0; url_fskip(pb, size); break; }