PR #24667 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24667
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24667.patch

61f45bd002 added the builtins library in the extralibs of libswscale
as the only user of av_int128. However, libibavutil/tests/rational
includes libswscale/rational64.c but links as a test program of
libavutil, and checkasm links libswscale without its extralibs, so both
failed to inherit correct link flags.


From 7b91140465d5dcc23e7b5637188af55e648c59e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <[email protected]>
Date: Thu, 24 Sep 2026 15:10:20 +0200
Subject: [PATCH] configure: pull the int128 deps in through libavutil
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

61f45bd002 added the builtins library in the extralibs of libswscale
as the only user of av_int128. However, libibavutil/tests/rational
includes libswscale/rational64.c but links as a test program of
libavutil, and checkasm links libswscale without its extralibs, so both
failed to inherit correct link flags.

Signed-off-by: Kacper Michajłow <[email protected]>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 1ececff721..cff9c442d1 100755
--- a/configure
+++ b/configure
@@ -4340,11 +4340,11 @@ avfilter_deps="avutil"
 avfilter_suggest="libm stdatomic zlib"
 avformat_deps="avcodec avutil"
 avformat_suggest="libm network zlib stdatomic"
-avutil_suggest="amf clock_gettime ffnvcodec gcrypt libm zlib libdrm libmfx 
opencl openssl user32 vaapi vulkan videotoolbox corefoundation corevideo 
coremedia bcrypt stdatomic"
+avutil_suggest="amf clock_gettime ffnvcodec gcrypt libm zlib libdrm libmfx 
opencl openssl user32 vaapi vulkan videotoolbox corefoundation corevideo 
coremedia bcrypt stdatomic int128"
 swresample_deps="avutil"
 swresample_suggest="libm libsoxr stdatomic"
 swscale_deps="avutil"
-swscale_suggest="libm stdatomic int128"
+swscale_suggest="libm stdatomic"
 shader_compression_suggest="zlib"
 
 avcodec_extralibs="pthreads_extralibs iconv_extralibs dxva2_extralibs 
liblcevc_dec_extralibs lcms2_extralibs"
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to