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 fc498205f7 configure: add missing library dependencies of the DNN 
filters
fc498205f7 is described below

commit fc498205f77c7afb8029405bf9168a20002db6f6
Author:     lusoris <[email protected]>
AuthorDate: Sat Nov 7 19:38:33 2026 +0100
Commit:     Lynne <[email protected]>
CommitDate: Sun Nov 8 12:34:28 2026 +0000

    configure: add missing library dependencies of the DNN filters
    
    derain, dnn_classify, dnn_detect and dnn_processing select the dnn
    component, and dnn_deps lists avformat and swscale, but the
    conditional library dependency block has no avfilter_deps entry for
    dnn; only sr carries its own. The common DNN code calls sws_* in
    dnn_io_proc.c and vf_dnn_processing.c, and the TensorFlow backend
    calls avio_* to load the model.
    
    A shared build with one of these four filters therefore links
    libavfilter against libavutil only. Linking a program with
    -Wl,--no-allow-shlib-undefined fails on the sws_* symbols with the
    OpenVINO backend, and on the sws_* and avio_* symbols with the
    TensorFlow backend.
    
    Prepend avformat and swscale to avfilter_deps whenever dnn is enabled.
    
    Signed-off-by: lusoris <[email protected]>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 133ad3ff42..ccc46895de 100755
--- a/configure
+++ b/configure
@@ -8245,6 +8245,7 @@ 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"
+enabled dnn                 && prepend avfilter_deps "avformat swscale"
 enabled ebur128_filter && enabled swresample && prepend avfilter_deps 
"swresample"
 enabled elbg_filter         && prepend avfilter_deps "avcodec"
 enabled find_rect_filter    && prepend avfilter_deps "avformat avcodec"

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to