The VC-1 decoders don't need ScanTable.raster_end as they don't call any of the unquantize functions.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -471,8 +471,8 @@ av_cold int ff_vc1_decode_init(AVCodecContext *avctx) · 470 unmodified lines | |||
| 471 | if (ret < 0) | 471 | if (ret < 0) |
| 472 | return ret; | 472 | return ret; |
| 473 | 473 | ||
| 474 | ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, | 474 | ff_permute_scantable(s->intra_scantable.permutated, ff_wmv1_scantable[1], |
| 475 | ff_wmv1_scantable[1]); | 475 | s->idsp.idct_permutation); |
| 476 | 476 | ||
| 477 | ret = vc1_decode_init_alloc_tables(v); | 477 | ret = vc1_decode_init_alloc_tables(v); |
| 478 | if (ret < 0) { | 478 | if (ret < 0) { |