avcodec/x86/mpegvideo: Use intra scantable in dct_unquantize_h263_intra_mmx()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 19 Jun 2017 21:47:13 +0000 (23:47 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 19 Jun 2017 22:07:51 +0000 (00:07 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/x86/mpegvideo.c

index 35a8264..73967ca 100644 (file)
@@ -51,7 +51,7 @@ static void dct_unquantize_h263_intra_mmx(MpegEncContext *s,
     if(s->ac_pred)
         nCoeffs=63;
     else
-        nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];
+        nCoeffs= s->intra_scantable.raster_end[ s->block_last_index[n] ];
 
 __asm__ volatile(
                 "movd %1, %%mm6                 \n\t" //qmul