[FFmpeg-devel] [PATCH] configure: correct lensfun header function check

Gyan Doshi ffmpeg at gyani.pro
Mon Jan 1 06:03:30 EET 2024



On 2023-12-31 01:03 pm, Gyan Doshi wrote:
> The function lf_db_new was deprecated in lensfun 09dcd3e7ad in 2017
> in favour of lf_db_create. The AVfilter was adjusted in 8b78eb312d
> but the configure check wasn't changed.
>
> lensfun removed lf_db_new declaration in lf 35c0017593 so configure
> fails to find lensfun.
> ---
This unbreaks use of the lib so plan to push in a few hours.

Regards,
Gyan


>   configure | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index cd66e42850..9262c1b650 100755
> --- a/configure
> +++ b/configure
> @@ -6776,7 +6776,7 @@ enabled libjxl            && require_pkg_config libjxl "libjxl >= 0.7.0" jxl/dec
>                                require_pkg_config libjxl_threads "libjxl_threads >= 0.7.0" jxl/thread_parallel_runner.h JxlThreadParallelRunner
>   enabled libklvanc         && require libklvanc libklvanc/vanc.h klvanc_context_create -lklvanc
>   enabled libkvazaar        && require_pkg_config libkvazaar "kvazaar >= 2.0.0" kvazaar.h kvz_api_get
> -enabled liblensfun        && require_pkg_config liblensfun lensfun lensfun.h lf_db_new
> +enabled liblensfun        && require_pkg_config liblensfun lensfun lensfun.h lf_db_create
>   
>   if enabled libmfx && enabled libvpl; then
>      die "ERROR: can not use libmfx and libvpl together"



More information about the ffmpeg-devel mailing list