summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-09-26 22:23:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-09-26 22:23:33 +0000
commitc38a29a44845bfb6d42e58fc0420a102fd8f8f6f (patch)
treec7c0add4a6566a8e375795c4b762dadb1e807336 /libavcodec/rv10.c
parentae41e29b5be6ddafc269a7a5df6ef4567aa738f7 (diff)
downloadffmpeg-c38a29a44845bfb6d42e58fc0420a102fd8f8f6f.tar.gz
fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000)
Originally committed as revision 6349 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c2
1 files changed, 1 insertions, 1 deletions
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 */