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>
pull/263/head
Michael Niedermayer 8 years ago
parent d7b3d5c3f2
commit 70a7df049c
  1. 2
      libavcodec/mpegvideo.c

@ -225,7 +225,7 @@ static void dct_unquantize_h263_intra_c(MpegEncContext *s,
if(s->ac_pred) if(s->ac_pred)
nCoeffs=63; nCoeffs=63;
else 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++) { for(i=1; i<=nCoeffs; i++) {
level = block[i]; level = block[i];

Loading…
Cancel
Save