Message ID | 20240902000502.6342-1-jamrial@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] fate/checkasm/sw_gbrp: don't randomly set internal values | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
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++) {
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> --- tests/checkasm/sw_gbrp.c | 6 ------ 1 file changed, 6 deletions(-)