[FFmpeg-cvslog] avcodec/x86/mpegvideo: Use intra scantable in dct_unquantize_h263_intra_mmx()

Michael Niedermayer git at videolan.org
Tue Jun 20 01:08:11 EEST 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Jun 19 23:47:13 2017 +0200| [ae6f6d4e34b8353a547be48fbf34b95a1c3652e9] | committer: Michael Niedermayer

avcodec/x86/mpegvideo: Use intra scantable in dct_unquantize_h263_intra_mmx()

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae6f6d4e34b8353a547be48fbf34b95a1c3652e9
---

 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



More information about the ffmpeg-cvslog mailing list