[FFmpeg-devel] [PATCH] checkasm/lls: add missing random values to the test buffers
James Almer
jamrial at gmail.com
Thu Jun 13 20:39:22 EEST 2024
On 6/12/2024 8:53 AM, James Almer wrote:
> Fixes valgrind warnings after 18adaf9fe558587cb1b707c647af83015b69da48.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> 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; \
Applied.
More information about the ffmpeg-devel
mailing list