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

Git pushed a commit to branch master
in repository ffmpeg.

commit ec33c154fa3c5d6989b95a053c46e4c10d8aa73d
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Oct 7 00:54:53 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Wed Oct 14 17:59:13 2026 +0000

    avfilter/vf_yadif_cuda: Pass 0 or 1 as skip_spatial_check
    
    The kernel takes a bool, but got the value 2 for the modes that skip
    the spatial interlacing check, which with a cuda-llvm build was taken
    as false, so modes 2 and 3 gave the output of modes 0 and 1.
    
    Ignored mode Replicated through UnModified FFmpeg
    Found during triage of the security report LQ8PDMaG6fL1
---
 libavfilter/vf_yadif_cuda.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_yadif_cuda.c b/libavfilter/vf_yadif_cuda.c
index eacaf28731..b3b98f3ccd 100644
--- a/libavfilter/vf_yadif_cuda.c
+++ b/libavfilter/vf_yadif_cuda.c
@@ -69,7 +69,7 @@ static int call_kernel(AVFilterContext *ctx, CUfunction func,
     CudaFunctions *cu = s->hwctx->internal->cuda_dl;
     CUtexObject tex_prev = 0, tex_cur = 0, tex_next = 0;
     int ret;
-    int skip_spatial_check = s->yadif.mode&2;
+    int skip_spatial_check = !!(s->yadif.mode&2);
 
     void *args[] = { &dst, &tex_prev, &tex_cur, &tex_next,
                      &dst_width, &dst_height, &dst_pitch,

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