From c38a29a44845bfb6d42e58fc0420a102fd8f8f6f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 26 Sep 2006 22:23:33 +0000 Subject: [PATCH] fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000) Originally committed as revision 6349 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 6ec8e51f45..418bab9cac 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -534,7 +534,7 @@ static int rv10_decode_init(AVCodecContext *avctx) break; case 0x10003001: s->rv10_version= 3; - s->h263_long_vectors=0; + s->h263_long_vectors= !!(*(uint32_t*)avctx->extradata & 0x1000000); s->low_delay=1; break; case 0x20001000: /* real rv20 decoder fail on this id */