aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-06-12 08:53:29 -0300
committerJames Almer <jamrial@gmail.com>2024-06-13 14:21:18 -0300
commita7e9f1c1e7d78d94055692edf5d915c4774f6895 (patch)
treea6a58102cf500ec7f210760d985814beb30504bc /tests
parent0060a368b175b1cbc01800af2d3d17ca9f88970c (diff)
downloadffmpeg-a7e9f1c1e7d78d94055692edf5d915c4774f6895.tar.gz
checkasm/lls: add missing random values to the test buffers
Fixes valgrind warnings after 18adaf9fe558587cb1b707c647af83015b69da48. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/lls.c2
1 files changed, 1 insertions, 1 deletions
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; \