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

Git pushed a commit to branch master
in repository ffmpeg.

commit 049d881a96892851c003adda6814e343316f2f10
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Sep 22 00:40:29 2026 +0200
Commit:     Timo Rothenpieler <[email protected]>
CommitDate: Fri Sep 25 01:08:29 2026 +0000

    avfilter/vf_thumbnail_cuda: use the single channel kernel for planar 16-bit 
formats
    
    Fixes: out of array write on every frame of a planar 16-bit format
    Fixes: KsEohQi9YQw8
    Found during triage/review of the security report
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavfilter/vf_thumbnail_cuda.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavfilter/vf_thumbnail_cuda.c b/libavfilter/vf_thumbnail_cuda.c
index 95c46eefdb..9cd1bb042b 100644
--- a/libavfilter/vf_thumbnail_cuda.c
+++ b/libavfilter/vf_thumbnail_cuda.c
@@ -239,11 +239,11 @@ static int thumbnail(AVFilterContext *ctx, int 
*histogram, AVFrame *in)
     case AV_PIX_FMT_YUV444P10MSB:
     case AV_PIX_FMT_YUV444P12MSB:
     case AV_PIX_FMT_YUV444P16:
-        thumbnail_kernel(ctx, s->cu_func_ushort2, 1,
+        thumbnail_kernel(ctx, s->cu_func_ushort, 1,
             histogram, in->data[0], in->width, in->height, in->linesize[0], 2);
-        thumbnail_kernel(ctx, s->cu_func_ushort2, 1,
+        thumbnail_kernel(ctx, s->cu_func_ushort, 1,
             histogram + 256, in->data[1], in->width, in->height, 
in->linesize[1], 2);
-        thumbnail_kernel(ctx, s->cu_func_ushort2, 1,
+        thumbnail_kernel(ctx, s->cu_func_ushort, 1,
             histogram + 512, in->data[2], in->width, in->height, 
in->linesize[2], 2);
         break;
     default:

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