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

Git pushed a commit to branch master
in repository ffmpeg.

commit 804041045e90aafb73d90947c5d1da0451714ddb
Author:     Niklas Haas <[email protected]>
AuthorDate: Sat Mar 28 17:07:33 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Sun Mar 29 09:39:09 2026 +0000

    swscale/ops: remove redundant unused mask from ops printout
    
    This is now fully redundant with the previous op's output; because unused
    components are always marked as garbage on the input side.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops.c            | 6 +-----
 tests/ref/fate/sws-ops-list | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/libswscale/ops.c b/libswscale/ops.c
index 93d6350864..d6c9b16bd0 100644
--- a/libswscale/ops.c
+++ b/libswscale/ops.c
@@ -922,12 +922,8 @@ void ff_sws_op_list_print(void *log, int lev, int 
lev_extra,
         const SwsOp *op   = &ops->ops[i];
         const SwsOp *next = i + 1 < ops->num_ops ? &ops->ops[i + 1] : op;
         av_bprint_clear(&bp);
-        av_bprintf(&bp, "  [%3s %c%c%c%c -> %c%c%c%c] ",
+        av_bprintf(&bp, "  [%3s %c%c%c%c] ",
                    ff_sws_pixel_type_name(op->type),
-                   op->comps.unused[0] ? 'X' : '.',
-                   op->comps.unused[1] ? 'X' : '.',
-                   op->comps.unused[2] ? 'X' : '.',
-                   op->comps.unused[3] ? 'X' : '.',
                    next->comps.unused[0] ? 'X' : 
describe_comp_flags(op->comps.flags[0]),
                    next->comps.unused[1] ? 'X' : 
describe_comp_flags(op->comps.flags[1]),
                    next->comps.unused[2] ? 'X' : 
describe_comp_flags(op->comps.flags[2]),
diff --git a/tests/ref/fate/sws-ops-list b/tests/ref/fate/sws-ops-list
index 48b038b6e5..159dbbba2a 100644
--- a/tests/ref/fate/sws-ops-list
+++ b/tests/ref/fate/sws-ops-list
@@ -1 +1 @@
-3fcc132b8a56c71f099055ce4ff410f6
+a872c7d917c532ba92397c1410f04388

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

Reply via email to