You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/ppc/mpegvideo_altivec: Use correct inter scantable
This affected the WMV1/2 encoders (but not when running FATE because the encoding part uses the fastint dct, so this code isn't used then anyway). It did not affect anything else, because a) only WMV1/2 use different scantables, b) ff_msmpeg4_decode_block() (and therefore the WMV1 decoder) already unquantize inter macroblocks as they are parsed c) the WMV2 decoder does not use the unquantize functions for inter macroblocks at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -61,7 +61,7 @@ static void dct_unquantize_h263_altivec(MpegEncContext *s,
|
||||
} else {
|
||||
i = 0;
|
||||
av_assert2(s->block_last_index[n]>=0);
|
||||
nCoeffs= s->intra_scantable.raster_end[ s->block_last_index[n] ];
|
||||
nCoeffs = s->inter_scantable.raster_end[s->block_last_index[n]];
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user