Commit 2753fa2fb8 for ffmpeg

commit 2753fa2fb8321356a5968580812ba14cecf068f4
Author: lusoris <lusoris@proton.me>
Date:   Tue Nov 3 21:41:17 2026 +0100

    configure: add the libavformat dependency of metadata and ametadata

    f_metadata.c opens its output file with avio_open() and writes it
    with avio_vprintf(). metadata_filter_deps and ametadata_filter_deps
    list avformat, but the conditional library dependency list has no
    entry for either filter, so a build with only one of them enabled sets
    avfilter_FFLIBS=avutil and a shared libavfilter has no libavformat
    NEEDED entry; a consumer linked with -Wl,--no-allow-shlib-undefined
    fails on the avio symbols.

    With these entries avfilter_FFLIBS=avformat avcodec avutil and the
    consumer links and runs with LD_BIND_NOW=1.

    Signed-off-by: lusoris <lusoris@proton.me>

diff --git a/configure b/configure
index c1950f6c5d..2bbc7812eb 100755
--- a/configure
+++ b/configure
@@ -8237,6 +8237,7 @@ done
 enabled zlib && add_cppflags -DZLIB_CONST

 # conditional library dependencies, in any order
+enabled ametadata_filter    && prepend avfilter_deps "avformat"
 enabled amovie_filter       && prepend avfilter_deps "avformat avcodec"
 enabled aresample_filter    && prepend avfilter_deps "swresample"
 enabled cover_rect_filter   && prepend avfilter_deps "avformat avcodec"
@@ -8245,6 +8246,7 @@ enabled elbg_filter         && prepend avfilter_deps "avcodec"
 enabled find_rect_filter    && prepend avfilter_deps "avformat avcodec"
 enabled fsync_filter        && prepend avfilter_deps "avformat"
 enabled mcdeint_filter      && prepend avfilter_deps "avcodec"
+enabled metadata_filter     && prepend avfilter_deps "avformat"
 enabled movie_filter        && prepend avfilter_deps "avformat avcodec"
 enabled pan_filter          && prepend avfilter_deps "swresample"
 enabled qrencode_filter     && prepend avfilter_deps "swscale"