Forgotten in 4f7aeffd8c3607aea6464a20eba4cc9106173c52.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -356,10 +356,7 @@ void ff_dct_unquantize_mpeg2_intra_mmi(MpegEncContext *s, int16_t *block, · 355 unmodified lines | ||
| 356 | 356 | |
| 357 | 357 | assert(s->block_last_index[n]>=0); |
| 358 | 358 | |
| 359 | − if (s->alternate_scan) | |
| 360 | − nCoeffs = 63; | |
| 361 | − else | |
| 362 | − nCoeffs = s->intra_scantable.raster_end[s->block_last_index[n]]; | |
| 359 | + nCoeffs = s->intra_scantable.raster_end[s->block_last_index[n]]; | |
| 363 | 360 | |
| 364 | 361 | if (n < 4) |
| 365 | 362 | block0 = block[0] * s->y_dc_scale; |