This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 914e454559ae41d787eb15aa5fd6d50c3f6bc356
Author:     Niklas Haas <[email protected]>
AuthorDate: Thu Oct 29 13:48:36 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Thu Oct 29 15:47:35 2026 +0000

    swscale/uops: skip printing uop lists below the log level
    
    As for op lists, avoid formatting the names of all uops when av_log()
    discards them anyway.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/uops.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libswscale/uops.c b/libswscale/uops.c
index 1d06a70e5f..a7150c1130 100644
--- a/libswscale/uops.c
+++ b/libswscale/uops.c
@@ -200,6 +200,9 @@ void ff_sws_uop_list_remove_at(SwsUOpList *uops, int index, 
int count)
 
 void ff_sws_uop_list_print(void *log, int lev, const SwsUOpList *uops)
 {
+    if (av_log_get_level() < lev)
+        return;
+
     av_log(log, lev, "Compiled micro-ops:\n");
     for (int i = 0; i < uops->num_ops; i++) {
         char name[SWS_UOP_NAME_MAX];

-- 
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