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>
This commit is contained in:
lusoris authored and Gyan Doshi committed 2026-11-05 04:43:58 +00:00
1 parent c0c7f3366a
commit 0893feba65
1 file changed
+2 -1
Vendored
+2 -1
View File
@@ -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"