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

Git pushed a commit to branch master
in repository ffmpeg.

commit 29486eacc105097b5779b39629f7935397c7f29b
Author:     Niklas Haas <[email protected]>
AuthorDate: Fri Oct 2 21:39:23 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Tue Oct 20 21:33:01 2026 +0000

    swscale/ops: convert indented block to inverted continue (cosmetic)
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/libswscale/ops.c b/libswscale/ops.c
index e935ed8f59..06516d0e0e 100644
--- a/libswscale/ops.c
+++ b/libswscale/ops.c
@@ -540,18 +540,18 @@ static void update_output_pads(SwsOpList *ops, SwsOp *op,
                 const AVRational64 k = op->lin.m[i][j];
                 AVRational64 mink = ff_mul_q64(src->min, k);
                 AVRational64 maxk = ff_mul_q64(src->max, k);
-                if (k.num) {
-                    FORWARD(i, j, flags);
-                    if (k.den != 1) /* fractional coefficient */
-                        dst->flags &= ~SWS_COMP_EXACT;
-                    if (k.num < 0)
-                        FFSWAP(AVRational64, mink, maxk);
-                    dst->min = ff_add_q64(dst->min, mink);
-                    dst->max = ff_add_q64(dst->max, maxk);
-                    if (!first || ff_cmp_q64(k, Q(1)))
-                        dst->flags &= SWS_COMP_DIRTY;
-                    first = false;
-                }
+                if (!k.num)
+                    continue;
+                FORWARD(i, j, flags);
+                if (k.den != 1) /* fractional coefficient */
+                    dst->flags &= ~SWS_COMP_EXACT;
+                if (k.num < 0)
+                    FFSWAP(AVRational64, mink, maxk);
+                dst->min = ff_add_q64(dst->min, mink);
+                dst->max = ff_add_q64(dst->max, maxk);
+                if (!first || ff_cmp_q64(k, Q(1)))
+                    dst->flags &= SWS_COMP_DIRTY;
+                first = false;
             }
             if (op->lin.m[i][4].num) { /* nonzero offset */
                 dst->flags &= ~SWS_COMP_ZERO & SWS_COMP_DIRTY;

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to