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 c780256808c64e098cc426c42201ae7952e20e75
Author:     Niklas Haas <[email protected]>
AuthorDate: Fri Mar 6 00:50:53 2026 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Tue Nov 24 19:55:14 2026 +0100

    swscale/graph: ensure intermediate buffers have extra line padding
    
    This basically guarantees that optimized packed routines have enough
    space to write a few bytes past the end of the line.
    
    Signed-off-by: Niklas Haas <[email protected]>
    (cherry picked from commit 4af33ec41801b9834fbe6772f9c1e53c48e0cd0d)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libswscale/graph.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/graph.c b/libswscale/graph.c
index 16846a0607..13a4fe1cf0 100644
--- a/libswscale/graph.c
+++ b/libswscale/graph.c
@@ -63,7 +63,7 @@ static int frame_alloc_planes(AVFrame *dst, int padding[4])
         return ret;
 
     const int align = av_cpu_max_align();
-    const int aligned_w = FFALIGN(dst->width, align);
+    const int aligned_w = FFALIGN(dst->width + 1, align); /* add space for 
over-write */
     ret = av_image_fill_linesizes(dst->linesize, dst->format, aligned_w);
     if (ret < 0)
         return ret;

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