aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-09-01 21:05:02 -0300
committerJames Almer <jamrial@gmail.com>2024-09-05 22:19:47 -0300
commit2a6f84718b172cd0858316281cbbd967f35767f0 (patch)
tree710ffd87a1d0c2dc52d0b638400b6772ccb4bb9a /tests
parenta49188297f1763c4f6188ca8ca7c1a8da6771896 (diff)
downloadffmpeg-2a6f84718b172cd0858316281cbbd967f35767f0.tar.gz
fate/checkasm/sw_gbrp: don't randomly set internal values
They are set by sws_init_context(). May help with signed integer overflows reported by gcc-usan. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/sw_gbrp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/checkasm/sw_gbrp.c b/tests/checkasm/sw_gbrp.c
index b845da32a6..d843730f3e 100644
--- a/tests/checkasm/sw_gbrp.c
+++ b/tests/checkasm/sw_gbrp.c
@@ -135,12 +135,6 @@ static void check_output_yuv2gbrp(void)
fail();
ctx->flags |= SWS_FULL_CHR_H_INT;
- ctx->yuv2rgb_y_offset = rnd();
- ctx->yuv2rgb_y_coeff = rnd();
- ctx->yuv2rgb_v2r_coeff = rnd();
- ctx->yuv2rgb_v2g_coeff = rnd();
- ctx->yuv2rgb_u2g_coeff = rnd();
- ctx->yuv2rgb_u2b_coeff = rnd();
for (fmi = 0; fmi < FF_ARRAY_ELEMS(planar_fmts); fmi++) {
for (fsi = 0; fsi < FILTER_SIZES; fsi++) {