Commit 484ccc1066 for ffmpeg

commit 484ccc1066572e2f5176a8fce3080274d4c1912b
Author: Niklas Haas <git@haasn.dev>
Date:   Thu Oct 29 13:38:06 2026 +0100

    swscale/ops: skip printing op lists below the log level

    ff_sws_op_list_print() formatted every op even when av_log() then
    discarded the result. Op lists are printed during every graph setup, so
    at the default log level this took about a quarter of the swscale
    self-test runtime.

    Signed-off-by: Niklas Haas <git@haasn.dev>

diff --git a/libswscale/ops.c b/libswscale/ops.c
index 2660d66d06..30597c375d 100644
--- a/libswscale/ops.c
+++ b/libswscale/ops.c
@@ -1042,6 +1042,9 @@ void ff_sws_op_list_print(void *log, int lev, int lev_extra,
                           const SwsOpList *ops)
 {
     AVBPrint bpc, *bp = &bpc;
+    if (av_log_get_level() < lev)
+        return;
+
     if (!ops->num_ops) {
         av_log(log, lev, "  (empty)\n");
         return;