[FFmpeg-cvslog] checkasm/lls: add missing random values to the test buffers

James Almer git at videolan.org
Thu Jun 13 20:22:16 EEST 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Jun 12 08:53:29 2024 -0300| [a7e9f1c1e7d78d94055692edf5d915c4774f6895] | committer: James Almer

checkasm/lls: add missing random values to the test buffers

Fixes valgrind warnings after 18adaf9fe558587cb1b707c647af83015b69da48.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a7e9f1c1e7d78d94055692edf5d915c4774f6895
---

 tests/checkasm/lls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/lls.c b/tests/checkasm/lls.c
index b1db21cd56..d2dbc53f41 100644
--- a/tests/checkasm/lls.c
+++ b/tests/checkasm/lls.c
@@ -24,7 +24,7 @@
 do {                                           \
     double bmg[2], stddev = 10.0;              \
                                                \
-    for (size_t i = 0; i < MAX_VARS; i += 2) { \
+    for (size_t i = 0; i < MAX_VARS_ALIGN; i += 2) { \
         av_bmg_get(&checkasm_lfg, bmg);        \
         buf[i]     = bmg[0] * stddev;          \
         buf[i + 1] = bmg[1] * stddev;          \



More information about the ffmpeg-cvslog mailing list