From 40a12840b83b1d4ca8080e8a8fc589d2a32edc99 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 30 Nov 2003 17:22:51 +0000 Subject: [PATCH] rv10 fix Originally committed as revision 2544 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv10.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 6735911d83..ec27dc3fe0 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -393,6 +393,7 @@ static int rv10_decode_init(AVCodecContext *avctx) s->avctx= avctx; s->out_format = FMT_H263; + s->codec_id= avctx->codec_id; s->width = avctx->width; s->height = avctx->height; @@ -414,9 +415,9 @@ static int rv10_decode_init(AVCodecContext *avctx) s->h263_rv10 = 1; break; case 0x20001000: - case 0x20100001: + case 0x20100001: //ok case 0x20200002: - case 0x20101001: //added + case 0x20101001: //ok default: av_log(s->avctx, AV_LOG_ERROR, "unknown header %X\n", avctx->sub_id); }