[FFmpeg-devel] [PATCH 1/2] checkasm/rv40dsp: Modify 0x3 to 0xFF to test for overflow
uk7b at foxmail.com
uk7b at foxmail.com
Tue Nov 19 11:08:03 EET 2024
From: sunyuechi <sunyuechi at iscas.ac.cn>
---
tests/checkasm/rv40dsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checkasm/rv40dsp.c b/tests/checkasm/rv40dsp.c
index a1a873d430..229864b3a1 100644
--- a/tests/checkasm/rv40dsp.c
+++ b/tests/checkasm/rv40dsp.c
@@ -27,7 +27,7 @@
#define randomize_buffers() \
do { \
for (int i = 0; i < 16*18*2; i++) \
- src[i] = rnd() & 0x3; \
+ src[i] = rnd() & 0xff; \
} while (0)
static void check_chroma_mc(void)
--
2.47.0
More information about the ffmpeg-devel
mailing list