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

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

commit 4cbf7a4b3d81a25cf26a5ee276410c3fdb644eb3
Author:     James Almer <[email protected]>
AuthorDate: Wed Sep 11 13:37:10 2024 -0300
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Fri Jun 19 19:05:29 2026 +0200

    tests/checkasm/sw_rgb: don't write random data past the end of the buffer
    
    Should fix fate-checkasm-sw_rgb under gcc-ubsan.
    
    Signed-off-by: James Almer <[email protected]>
    Signed-off-by: Ramiro Polla <[email protected]>
    (cherry picked from commit e1d1ba4cbc67ba9a227a1457904f50a305cf1158)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 tests/checkasm/sw_rgb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/sw_rgb.c b/tests/checkasm/sw_rgb.c
index af9434073a..cdd43df8ba 100644
--- a/tests/checkasm/sw_rgb.c
+++ b/tests/checkasm/sw_rgb.c
@@ -287,7 +287,7 @@ static void check_deinterleave_bytes(void)
                        int width, int height, int srcStride,
                        int dst1Stride, int dst2Stride);
 
-    randomize_buffers(src, 2*MAX_STRIDE*MAX_HEIGHT+2);
+    randomize_buffers(src, 2*MAX_STRIDE*MAX_HEIGHT);
 
     if (check_func(deinterleaveBytes, "deinterleave_bytes")) {
         for (int i = 0; i <= 16; i++) {

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

Reply via email to