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

Git pushed a commit to branch master
in repository ffmpeg.

commit c17a9ba0b808d9a1c17c7ea0115d20ba19838447
Author:     Niklas Haas <[email protected]>
AuthorDate: Fri Jan 9 13:05:28 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Thu Feb 19 19:44:46 2026 +0000

    tests/sws_ops: explicitly skip no-op operation lists
    
    These are not necessarily empty, as a result of the previous changes.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/tests/sws_ops.c  | 5 ++++-
 tests/ref/fate/sws-ops-list | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/libswscale/tests/sws_ops.c b/libswscale/tests/sws_ops.c
index 69852fc1e0..bf84128291 100644
--- a/libswscale/tests/sws_ops.c
+++ b/libswscale/tests/sws_ops.c
@@ -57,7 +57,10 @@ static int run_test(SwsContext *const ctx, AVFrame *frame,
            av_get_pix_fmt_name(src.format), av_get_pix_fmt_name(dst.format));
 
     ff_sws_op_list_optimize(ops);
-    ff_sws_op_list_print(NULL, AV_LOG_INFO, ops);
+    if (ff_sws_op_list_is_noop(ops))
+        av_log(NULL, AV_LOG_INFO, "  (no-op)\n");
+    else
+        ff_sws_op_list_print(NULL, AV_LOG_INFO, ops);
 
 fail:
     /* silently skip unsupported formats */
diff --git a/tests/ref/fate/sws-ops-list b/tests/ref/fate/sws-ops-list
index 0210a0a1cc..bf2dacc154 100644
--- a/tests/ref/fate/sws-ops-list
+++ b/tests/ref/fate/sws-ops-list
@@ -1 +1 @@
-d781f3ddfeed4590eb253814366d2d01
+78416673c15226c0cac62ce4eb24f883

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to