You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/mips/mpegvideo_mmi: Don't check alternate_scan unnecessarily
Forgotten in 4f7aeffd8c
.
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -356,10 +356,7 @@ void ff_dct_unquantize_mpeg2_intra_mmi(MpegEncContext *s, int16_t *block,
|
|||||||
|
|
||||||
assert(s->block_last_index[n]>=0);
|
assert(s->block_last_index[n]>=0);
|
||||||
|
|
||||||
if (s->alternate_scan)
|
nCoeffs = s->intra_scantable.raster_end[s->block_last_index[n]];
|
||||||
nCoeffs = 63;
|
|
||||||
else
|
|
||||||
nCoeffs = s->intra_scantable.raster_end[s->block_last_index[n]];
|
|
||||||
|
|
||||||
if (n < 4)
|
if (n < 4)
|
||||||
block0 = block[0] * s->y_dc_scale;
|
block0 = block[0] * s->y_dc_scale;
|
||||||
|
Reference in New Issue
Block a user