aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-30 17:22:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-30 17:22:51 +0000
commit40a12840b83b1d4ca8080e8a8fc589d2a32edc99 (patch)
tree9259a665ca63489672328f76cb127ccf7670e2a5
parent68b94c354d913a9cc8b110d66d8d5faab3572025 (diff)
downloadffmpeg-40a12840b83b1d4ca8080e8a8fc589d2a32edc99.tar.gz
rv10 fix
Originally committed as revision 2544 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/rv10.c5
1 files 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);
}