This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 42970ac7e2a18334e1cc645f6a39194778c4e35a Author: Andreas Rheinhardt <[email protected]> AuthorDate: Mon Jul 27 21:22:16 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Jul 28 00:53:50 2026 +0200 tests/checkasm/checkasm: Map rnd to checkasm_rand_uint32 Before the switch to libcheckasm, rnd returned an unsigned value; now it only returns a signed value in the range 0..INT_MAX, so that the sign bit is not random at all. This means that when rnd is used to initialize four bytes at a time, one bit is not random. Fix this by mapping rnd to checkasm_rand_uint32(). Reviewed-by: Niklas Haas <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> --- tests/checkasm/checkasm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h index b473c5d711..70987b52f1 100644 --- a/tests/checkasm/checkasm.h +++ b/tests/checkasm/checkasm.h @@ -133,7 +133,7 @@ void checkasm_check_vvc_alf(void); void checkasm_check_vvc_mc(void); void checkasm_check_vvc_sao(void); -#define rnd checkasm_rand +#define rnd checkasm_rand_uint32 #define declare_func_float declare_func #define bench(...) checkasm_bench(__VA_ARGS__) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
