History

avcodec/mips/mpegvideo_mmi: Don't check alternate_scan unnecessarily

Forgotten in 4f7aeffd8c3607aea6464a20eba4cc9106173c52.

Andreas Rheinhardt committed 2 years ago

Commit ab38ff91 parent 2de91681 file · +1 −4Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/mips/mpegvideo_mmi.c+1−4
@@ -356,10 +356,7 @@ void ff_dct_unquantize_mpeg2_intra_mmi(MpegEncContext *s, int16_t *block, · 355 unmodified lines
356 356
357 assert(s->block_last_index[n]>=0);357 assert(s->block_last_index[n]>=0);
358 358
359 if (s->alternate_scan)359 nCoeffs = s->intra_scantable.raster_end[s->block_last_index[n]];
360 nCoeffs = 63;
361 else
362 nCoeffs = s->intra_scantable.raster_end[s->block_last_index[n]];
363 360
364 if (n < 4)361 if (n < 4)
365 block0 = block[0] * s->y_dc_scale;362 block0 = block[0] * s->y_dc_scale;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t