diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-20 00:37:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-21 02:25:23 +0200 |
commit | 70a7df049c411d9247eb6075720c84196c3e55e8 (patch) | |
tree | 73ba1e302d34fa6eea36852fec3fa1762caa13ca | |
parent | d7b3d5c3f2e2ff1994762b5e09c05fbc33790b5b (diff) | |
download | ffmpeg-70a7df049c411d9247eb6075720c84196c3e55e8.tar.gz |
avcodec/mpegvideo: Use intra_scantable in dct_unquantize_h263_intra_c()
Reviewed-by: James Darnley <jdarnley@obe.tv>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 63a30b93ce..e29558b3a2 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -225,7 +225,7 @@ static void dct_unquantize_h263_intra_c(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] ]; for(i=1; i<=nCoeffs; i++) { level = block[i]; |