ignore sub_id
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Sep 2006 11:45:09 +0000 (11:45 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Sep 2006 11:45:09 +0000 (11:45 +0000)
Originally committed as revision 6392 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv10.c

index 0bafbd1..63d2942 100644 (file)
@@ -533,6 +533,7 @@ static int rv10_decode_init(AVCodecContext *avctx)
     s->height = avctx->height;
 
     s->h263_long_vectors= ((uint8_t*)avctx->extradata)[3] & 1;
+    avctx->sub_id= BE_32((uint8_t*)avctx->extradata + 4);
 
     switch(avctx->sub_id){
     case 0x10000000: