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

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

commit 79e64c80bf174327573dbe28cb58f800bc1c967d
Author:     Zhao Zhili <[email protected]>
AuthorDate: Wed Jul 8 19:31:30 2026 +0800
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Aug 2 06:03:04 2026 +0200

    avfilter/vf_scale_cuda: fix non-scaling format conversion
    
    A format-only conversion leaves the auto use_filters value unresolved.
    Regression since 5d0748243f8.
    
    Fix issue #23737
    
    Signed-off-by: Zhao Zhili <[email protected]>
    (cherry picked from commit c57660fb18f058e8ead224e840b242d9c68fd3c4)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/vf_scale_cuda.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c
index 409145c44f..240e40d43b 100644
--- a/libavfilter/vf_scale_cuda.c
+++ b/libavfilter/vf_scale_cuda.c
@@ -422,6 +422,8 @@ static av_cold int init_processing_chain(AVFilterContext 
*ctx, int in_width, int
             s->use_filters = 0;
         } else if (s->use_filters < 0 && (out_width < in_width || out_height < 
in_height))
             s->use_filters = 1; /* downscaling; needed for anti-aliasing */
+        else if (s->use_filters < 0)
+            s->use_filters = 0;
     }
 
     outl->hw_frames_ctx = av_buffer_ref(s->frames_ctx);

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

Reply via email to