WMV3 mode with FASTTX=0 seems to use standard IDCT instead of own 8x8 transform
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 18 Oct 2007 16:10:36 +0000 (16:10 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 18 Oct 2007 16:10:36 +0000 (16:10 +0000)
Originally committed as revision 10782 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vc1.c

index 3be8f0126397d3495f0b70d5d35055f024e39139..420017c65bfc02dcab2f07be0f91d76d7ed8d2d3 100644 (file)
@@ -818,9 +818,7 @@ static int decode_sequence_header(AVCodecContext *avctx, GetBitContext *gb)
     v->res_fasttx = get_bits1(gb);
     if (!v->res_fasttx)
     {
-        av_log(avctx, AV_LOG_ERROR,
-               "0 for reserved RES_FASTTX is forbidden\n");
-        //return -1;
+        v->s.dsp.vc1_inv_trans_8x8 = v->s.dsp.idct;
     }
 
     v->fastuvmc =  get_bits1(gb); //common