diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 1cbc1e7d43..7a2b10ecb6 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -3922,7 +3922,7 @@ static void dct_unquantize_h263_c(MpegEncContext *s, nCoeffs= 63; //does not allways use zigzag table } else { i = 0; - nCoeffs= s->intra_scantable.raster_end[ s->block_last_index[n] ]; + nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ]; } for(;i<=nCoeffs;i++) {