Browse Source

FASTTX==0 means additional 16 bits in extradata

Originally committed as revision 8533 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov 18 years ago
parent
commit
351f6b4e91
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libavcodec/vc1.c

+ 2 - 0
libavcodec/vc1.c

@@ -1261,6 +1261,8 @@ static int decode_sequence_header(AVCodecContext *avctx, GetBitContext *gb)
                "Old WMV3 version detected, only I-frames will be decoded\n");
         //return -1;
     }
+    //TODO: figure out what they mean (always 0x402F)
+    if(!v->res_fasttx) skip_bits(gb, 16);
     av_log(avctx, AV_LOG_DEBUG,
                "Profile %i:\nfrmrtq_postproc=%i, bitrtq_postproc=%i\n"
                "LoopFilter=%i, MultiRes=%i, FastUVMC=%i, Extended MV=%i\n"