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

Git pushed a commit to branch release/8.0
in repository ffmpeg.

commit 4b61400a1ade7ec068450aa4d932b0e5b5d2d7e4
Author:     Niklas Haas <[email protected]>
AuthorDate: Fri Jun 26 17:24:36 2026 +0200
Commit:     Marvin Scholz <[email protected]>
CommitDate: Mon Jun 29 14:21:08 2026 +0200

    avfilter/vf_scale_cuda: fix inverted downscaling check
    
    Signed-off-by: Niklas Haas <[email protected]>
    (cherry-picked from commit 6baf5613036fd7d838c41e85f94d7c7ad7aaf1da)
    Signed-off-by: Marvin Scholz <[email protected]>
---
 libavfilter/vf_scale_cuda.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c
index 2dfbb21c15..8af9154644 100644
--- a/libavfilter/vf_scale_cuda.c
+++ b/libavfilter/vf_scale_cuda.c
@@ -420,7 +420,7 @@ static av_cold int init_processing_chain(AVFilterContext 
*ctx, int in_width, int
 
         if (s->interp_algo == INTERP_ALGO_NEAREST) {
             s->use_filters = 0;
-        } else if (s->use_filters < 0 && (in_width < out_width || in_height < 
out_height))
+        } else if (s->use_filters < 0 && (out_width < in_width || out_height < 
in_height))
             s->use_filters = 1; /* downscaling; needed for anti-aliasing */
     }
 

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

Reply via email to