PR #21177 opened by Jack Lau (JackLau) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21177 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21177.patch
Signed-off-by: Jack Lau <[email protected]> >From ac853f8d3b195fb5bacb227ffb63a260ff84dfe0 Mon Sep 17 00:00:00 2001 From: Jack Lau <[email protected]> Date: Fri, 12 Dec 2025 15:11:03 +0800 Subject: [PATCH] configure: use pkg-config checks amr related libs Signed-off-by: Jack Lau <[email protected]> --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 15b33bb870..715546eb4e 100755 --- a/configure +++ b/configure @@ -7217,8 +7217,8 @@ enabled libnpp && { test_cpp_condition "$(cd "$source_path"; pwd)/lib die "ERROR: libnpp not found"; } && { check_func_headers "nppi.h" nppiYCbCr420_8u_P2P3R $libnpp_extralibs || die "ERROR: libnpp support is deprecated, version 13.0 and up are not supported"; } -enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb -enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb +enabled libopencore_amrnb && require_pkg_config libopencore_amrnb "opencore-amrnb >= 0.1.0" opencore-amrnb/interf_dec.h Decoder_Interface_init +enabled libopencore_amrwb && require_pkg_config libopencore_amrwb "opencore-amrwb >= 0.1.0" opencore-amrwb/dec_if.h D_IF_init enabled libopencv && { check_pkg_config libopencv opencv4 opencv2/core/core_c.h cvCreateImageHeader || require libopencv opencv2/core/core_c.h cvCreateImageHeader -lopencv_core -lopencv_imgproc; } enabled libopenh264 && require_pkg_config libopenh264 "openh264 >= 1.3.0" wels/codec_api.h WelsGetCodecVersion @@ -7270,7 +7270,7 @@ enabled libv4l2 && require_pkg_config libv4l2 libv4l2 libv4l2.h v4l2_i enabled libvidstab && require_pkg_config libvidstab "vidstab >= 0.98" vid.stab/libvidstab.h vsMotionDetectInit enabled libvmaf && require_pkg_config libvmaf "libvmaf >= 2.0.0" libvmaf.h vmaf_init enabled libvmaf && check_pkg_config libvmaf_cuda "libvmaf >= 2.0.0" libvmaf_cuda.h vmaf_cuda_state_init -enabled libvo_amrwbenc && require libvo_amrwbenc vo-amrwbenc/enc_if.h E_IF_init -lvo-amrwbenc +enabled libvo_amrwbenc && require_pkg_config libvo_amrwbenc "vo-amrwbenc >= 0.1.0" vo-amrwbenc/enc_if.h E_IF_init enabled libvorbis && require_pkg_config libvorbis vorbis vorbis/codec.h vorbis_info_init && require_pkg_config libvorbisenc vorbisenc vorbis/vorbisenc.h vorbis_encode_init -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
