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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 8dba37253f avfilter/vf_scale_vulkan: fix height check for debayering
8dba37253f is described below

commit 8dba37253f985bcba0b9dd26adb94a7593124796
Author:     romainhedouin <[email protected]>
AuthorDate: Thu Oct 15 22:36:11 2026 +0200
Commit:     Lynne <[email protected]>
CommitDate: Mon Oct 19 07:32:29 2026 +0000

    avfilter/vf_scale_vulkan: fix height check for debayering
    
    The check compared the width twice so a height-only change was not
    rejected when debayering.
    
    Found during a code review sweep of ffmpeg using an LLM.
    
    Signed-off-by: romainhedouin <[email protected]>
---
 libavfilter/vf_scale_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c
index c60f26acf5..1681ad1b50 100644
--- a/libavfilter/vf_scale_vulkan.c
+++ b/libavfilter/vf_scale_vulkan.c
@@ -367,7 +367,7 @@ static int scale_vulkan_config_output(AVFilterLink *outlink)
             av_log(avctx, AV_LOG_ERROR, "Unsupported output format for 
debayer\n");
             return AVERROR(EINVAL);
         }
-        if (inlink->w != outlink->w || inlink->w != outlink->w) {
+        if (inlink->w != outlink->w || inlink->h != outlink->h) {
             av_log(avctx, AV_LOG_ERROR, "Scaling is not supported with 
debayering\n");
             return AVERROR_PATCHWELCOME;
         }

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