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

Anton Khirnov anton at khirnov.net
Mon May 30 10:47:10 EEST 2022


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.
-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list