This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new bc63000741 configure: add pkg-config check for amr related libs
bc63000741 is described below
commit bc63000741dfa346716904005d5b3a07bf84f909
Author: Jack Lau <[email protected]>
AuthorDate: Fri Dec 12 20:30:37 2025 +0800
Commit: Jack Lau <[email protected]>
CommitDate: Fri Feb 27 01:51:09 2026 +0000
configure: add pkg-config check for amr related libs
This patch doesn't break previous approach, just add
one possible valid method to find the lib.
Signed-off-by: Jack Lau <[email protected]>
---
configure | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index a64a73eea8..87a9c02686 100755
--- a/configure
+++ b/configure
@@ -7315,8 +7315,10 @@ 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 && { check_pkg_config libopencore_amrnb
opencore-amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init ||
+ require libopencore_amrnb
opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb; }
+enabled libopencore_amrwb && { check_pkg_config libopencore_amrwb
opencore-amrwb opencore-amrwb/dec_if.h D_IF_init ||
+ require libopencore_amrwb
opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb; }
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 libopencolorio && require_pkg_config_cxx libopencolorio
"OpenColorIO" OpenColorIO/OpenColorIO.h OCIO_NAMESPACE::Config
@@ -7370,7 +7372,8 @@ 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 && { check_pkg_config libvo_amrwbenc vo-amrwbenc
vo-amrwbenc/enc_if.h E_IF_init ||
+ require libvo_amrwbenc vo-amrwbenc/enc_if.h
E_IF_init -lvo-amrwbenc; }
enabled libvorbis && require_pkg_config libvorbis vorbis
vorbis/codec.h vorbis_info_init &&
require_pkg_config libvorbisenc vorbisenc
vorbis/vorbisenc.h vorbis_encode_init
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]