Re: [FFmpeg-devel] [PATCH 5/8] avcodec/mpeg12dec: Don't initialize IDCT more than once

2023-10-03 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Before 998c9f15d1ca8c7489775ebcca51623b915988f1, the IDCTDSPContext > has only been initialized in ff_mpv_common_init() which is deferred > until immediately before decoding a picture; to nevertheless parse > the quant matrices in sequence headers or quant matrix extensions,

[FFmpeg-devel] [PATCH 5/8] avcodec/mpeg12dec: Don't initialize IDCT more than once

2023-10-02 Thread Andreas Rheinhardt
Before 998c9f15d1ca8c7489775ebcca51623b915988f1, the IDCTDSPContext has only been initialized in ff_mpv_common_init() which is deferred until immediately before decoding a picture; to nevertheless parse the quant matrices in sequence headers or quant matrix extensions, a dummy (identity)