From a7e9f1c1e7d78d94055692edf5d915c4774f6895 Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 12 Jun 2024 08:53:29 -0300 Subject: [PATCH] checkasm/lls: add missing random values to the test buffers Fixes valgrind warnings after 18adaf9fe558587cb1b707c647af83015b69da48. Signed-off-by: James Almer --- 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; \