fix decoding of bastard3.rm (ver=0x10003001 ver0=0x9000000)
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Sep 2006 22:23:33 +0000 (22:23 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Sep 2006 22:23:33 +0000 (22:23 +0000)
Originally committed as revision 6349 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv10.c

index 6ec8e51..418bab9 100644 (file)
@@ -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 */