[FFmpeg-devel] [PATCH] avcodec/mpegvideo: Remove spec-incompliant inverse quantisation

Kieran Kunhya kierank at obe.tv
Mon Oct 30 20:40:58 EET 2023


On Mon, 30 Oct 2023 at 13:10, Andreas Rheinhardt <
andreas.rheinhardt at outlook.com> wrote:

> Section 7.4.4 of the MPEG-2 specifications requires that the
> last bit of the last coefficient be toggled so that the sum
> of all coefficients is odd; both our decoder and encoder
> did this only if the bitexact flag has been set (although
> stuff like this should be behind AV_CODEC_FLAG2_FAST).
> This patch changes this by removing the spec-incompliant
> functions.
>

LGTM


More information about the ffmpeg-devel mailing list