[FFmpeg-devel] [PATCH] avcodec/ffv1enc: Eliminate float/double from find_best_state()

Martin Storsjö martin at martin.st
Mon May 30 11:16:41 EEST 2022


On Mon, 30 May 2022, Anton Khirnov wrote:

> Quoting Michael Niedermayer (2022-05-27 20:52:09)
>> log2() remains, this can either be replaced by a integer implementation or the table
>> hardcoded if needed
>>
>> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
>> ---
>>  libavcodec/ffv1enc.c                    | 25 ++++++++++++-------------
>>  tests/ref/vsynth/vsynth1-ffv1-2pass     |  4 ++--
>>  tests/ref/vsynth/vsynth2-ffv1-2pass     |  4 ++--
>>  tests/ref/vsynth/vsynth3-ffv1-2pass     |  4 ++--
>>  tests/ref/vsynth/vsynth_lena-ffv1-2pass |  4 ++--
>>  5 files changed, 20 insertions(+), 21 deletions(-)
>
> Fixes 32bit x86 FATE breakage for me.

Thanks, this fixes failures on arm and aarch64 for me, too.

// Martin



More information about the ffmpeg-devel mailing list