OSDN Git Service

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 3be8f01..420017c 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