From ae6f6d4e34b8353a547be48fbf34b95a1c3652e9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 19 Jun 2017 23:47:13 +0200 Subject: [PATCH] avcodec/x86/mpegvideo: Use intra scantable in dct_unquantize_h263_intra_mmx() Signed-off-by: Michael Niedermayer --- libavcodec/x86/mpegvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/mpegvideo.c b/libavcodec/x86/mpegvideo.c index 35a8264804..73967cafda 100644 --- a/libavcodec/x86/mpegvideo.c +++ b/libavcodec/x86/mpegvideo.c @@ -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