This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit c51c63058ca53b00c1cebf30db67dffeb992ab0c Author: Niklas Haas <[email protected]> AuthorDate: Mon Dec 15 18:15:24 2025 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sat Dec 20 13:52:45 2025 +0000 swscale/ops_optimizer: don't commute clear with itself These would normally be merged, not swapped. --- libswscale/ops_optimizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/ops_optimizer.c b/libswscale/ops_optimizer.c index f317a84f9a..c4a75820d3 100644 --- a/libswscale/ops_optimizer.c +++ b/libswscale/ops_optimizer.c @@ -50,7 +50,6 @@ static bool op_commute_clear(SwsOp *op, SwsOp *next) case SWS_OP_MIN: case SWS_OP_MAX: case SWS_OP_SCALE: - case SWS_OP_CLEAR: case SWS_OP_READ: case SWS_OP_SWIZZLE: ff_sws_apply_op_q(next, op->c.q4); @@ -61,6 +60,7 @@ static bool op_commute_clear(SwsOp *op, SwsOp *next) case SWS_OP_LINEAR: case SWS_OP_PACK: case SWS_OP_UNPACK: + case SWS_OP_CLEAR: return false; case SWS_OP_TYPE_NB: break; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
