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: Don't process unnecessarily many coeffs
Use the same number as the C version. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -57,7 +57,10 @@ static void dct_unquantize_h263_altivec(MpegEncContext *s,
|
|||||||
}else
|
}else
|
||||||
qadd = 0;
|
qadd = 0;
|
||||||
i = 1;
|
i = 1;
|
||||||
nCoeffs= 63; //does not always use zigzag table
|
if (s->ac_pred)
|
||||||
|
nCoeffs = 63;
|
||||||
|
else
|
||||||
|
nCoeffs = s->intra_scantable.raster_end[s->block_last_index[n]];
|
||||||
} else {
|
} else {
|
||||||
i = 0;
|
i = 0;
|
||||||
av_assert2(s->block_last_index[n]>=0);
|
av_assert2(s->block_last_index[n]>=0);
|
||||||
|
Reference in New Issue
Block a user