[FFmpeg-devel] [PATCH] avcodec/hevcdsp: Offset ff_hevc_.pel_filters to simplify addressing
James Almer
jamrial at gmail.com
Wed Feb 14 01:26:59 EET 2024
On 2/12/2024 11:54 PM, Nuo Mi wrote:
> On Sun, Feb 11, 2024 at 4:21 PM Andreas Rheinhardt <
> andreas.rheinhardt at outlook.com> wrote:
>
>> Besides simplifying address computations (it saves 432B of .text
>> in hevcdsp.o alone here) it also fixes undefined behaviour that
>> occurs if mx or my are 0 (happens when the filters are unused)
>> because they lead to an array index of -1 in the old code.
>> This happens in the checkasm-hevc_pel FATE-test.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
>>
>> Thank you, Andreas,
>
> Hi all,
> If there are no objections, I'll merge it tomorrow.
Just pushed it. Thanks Andreas for fixing this.
More information about the ffmpeg-devel
mailing list