forked from FFmpeg/FFmpeg
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>
This commit is contained in:
parent
a49188297f
commit
2a6f84718b
1 changed files with 0 additions and 6 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue