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

Git pushed a commit to branch master
in repository ffmpeg.

commit 3e528173e92394d001525bf7a5c99d2d24c9527d
Author:     Ramiro Polla <[email protected]>
AuthorDate: Mon Sep 28 17:32:07 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Tue Sep 29 18:54:39 2026 +0000

    swscale/tests/swscale: don't skip same-size conversions by default
    
    This fixes a regression from fcaafd2c11, when the -scaler/-scaler_sub
    options were added. Same-size conversions were skipped when no -scaler
    option was passed.
---
 libswscale/tests/swscale.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index 6de9327ba9..e505dafbc4 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -752,7 +752,7 @@ static int run_self_tests(const AVFrame *ref, const struct 
options *opts)
                         int dst_w = (opts->dst_w >= 0) ? opts->dst_w : 
dst_w_values[w];
                         int dst_h = (opts->dst_h >= 0) ? opts->dst_h : 
dst_h_values[h];
 
-                        if (opts->scaler >= 0 && opts->w == dst_w && opts->h 
== dst_h)
+                        if (opts->scaler > SWS_SCALE_AUTO && opts->w == dst_w 
&& opts->h == dst_h)
                             continue;
 
                         if (ff_sfc64_get(&prng_state) <= UINT64_MAX * 
opts->prob) {

-- 
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