Commit 0893feba65 for ffmpeg
commit 0893feba652894f836cb76617936da52570d20a5
Author: lusoris <lusoris@proton.me>
Date: Wed Nov 4 01:10:17 2026 +0100
configure: add the libavformat dependency of whisper
af_whisper writes its output through AVIO. Without avformat in the
filter dependencies and avfilter_deps, a minimal shared build leaves
avio_closep, avio_write and avio_open unresolved. The library builds,
but linking a consumer with -Wl,--no-allow-shlib-undefined fails with
undefined references to all three symbols. With --disable-avformat,
configure also kept the filter enabled; it is now disabled cleanly.
Signed-off-by: lusoris <lusoris@proton.me>
diff --git a/configure b/configure
index 2bbc7812eb..3a0ee5ddfb 100755
--- a/configure
+++ b/configure
@@ -4305,7 +4305,7 @@ xstack_qsv_filter_deps="libmfx"
xstack_qsv_filter_select="qsvvpp"
pad_vaapi_filter_deps="vaapi_1"
drawbox_vaapi_filter_deps="vaapi_1"
-whisper_filter_deps="whisper"
+whisper_filter_deps="avformat whisper"
# examples
avio_http_serve_files_deps="avformat avutil fork"
@@ -8263,6 +8263,7 @@ enabled spp_filter && prepend avfilter_deps "avcodec"
enabled sr_filter && prepend avfilter_deps "avformat swscale"
enabled subtitles_filter && prepend avfilter_deps "avformat avcodec"
enabled uspp_filter && prepend avfilter_deps "avcodec"
+enabled whisper_filter && prepend avfilter_deps "avformat"
enabled zoompan_filter && prepend avfilter_deps "swscale"
enabled lavfi_indev && prepend avdevice_deps "avfilter"