You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/vc1dec: Don't initialize unused parts of ScanTable
The VC-1 decoders don't need ScanTable.raster_end as they don't call any of the unquantize functions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -471,8 +471,8 @@ av_cold int ff_vc1_decode_init(AVCodecContext *avctx)
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable,
|
||||
ff_wmv1_scantable[1]);
|
||||
ff_permute_scantable(s->intra_scantable.permutated, ff_wmv1_scantable[1],
|
||||
s->idsp.idct_permutation);
|
||||
|
||||
ret = vc1_decode_init_alloc_tables(v);
|
||||
if (ret < 0) {
|
||||
|
Reference in New Issue
Block a user