This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 6fb0efb35c73249fcda5bfdd12f1af59d5671fe9 Author: Niklas Haas <[email protected]> AuthorDate: Sat Mar 28 16:31:58 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sun Mar 29 09:39:09 2026 +0000 swscale/ops: strip value range from garbage components Just removes the unnecessary value range after the WRITE, as a result of the previous change and the fact that we already skipped printing these for unused components. rgb24 -> bgr24: [ u8 XXXX -> +++X] SWS_OP_READ : 3 elem(s) packed >> 0 min: {0 0 0 _}, max: {255 255 255 _} [ u8 ...X -> +++X] SWS_OP_SWIZZLE : 2103 min: {0 0 0 _}, max: {255 255 255 _} [ u8 ...X -> XXXX] SWS_OP_WRITE : 3 elem(s) packed >> 0 - min: {0 0 0 _}, max: {255 255 255 _} (X = unused, z = byteswapped, + = exact, 0 = zero) Signed-off-by: Niklas Haas <[email protected]> --- libswscale/ops.c | 4 +++- tests/ref/fate/sws-ops-list | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libswscale/ops.c b/libswscale/ops.c index 1220f70c42..56fd1f81ec 100644 --- a/libswscale/ops.c +++ b/libswscale/ops.c @@ -473,8 +473,10 @@ void ff_sws_op_list_update_comps(SwsOpList *ops) bool need_in[4] = { false, false, false, false }; for (int i = 0; i < 4; i++) { - if (!need_out[i]) + if (!need_out[i]) { op->comps.flags[i] = SWS_COMP_GARBAGE; + op->comps.min[i] = op->comps.max[i] = (AVRational) {0}; + } } switch (op->op) { diff --git a/tests/ref/fate/sws-ops-list b/tests/ref/fate/sws-ops-list index cafa68665d..48b038b6e5 100644 --- a/tests/ref/fate/sws-ops-list +++ b/tests/ref/fate/sws-ops-list @@ -1 +1 @@ -da5cdcd09fffb274b454a64f1d95b073 +3fcc132b8a56c71f099055ce4ff410f6 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
