History

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.

James Almer committed 2 years ago

Commit 2a6f8471 parent a4918821 file · +0 −6Browse files

Unified · Split

tests/checkasm/sw_gbrp.c+0−6
@@ -135,12 +135,6 @@ static void check_output_yuv2gbrp(void) · 134 unmodified lines
135135 fail();
136136
137137 ctx->flags |= SWS_FULL_CHR_H_INT;
138− ctx->yuv2rgb_y_offset = rnd();
139− ctx->yuv2rgb_y_coeff = rnd();
140− ctx->yuv2rgb_v2r_coeff = rnd();
141− ctx->yuv2rgb_v2g_coeff = rnd();
142− ctx->yuv2rgb_u2g_coeff = rnd();
143− ctx->yuv2rgb_u2b_coeff = rnd();
144138
145139 for (fmi = 0; fmi < FF_ARRAY_ELEMS(planar_fmts); fmi++) {
146140 for (fsi = 0; fsi < FILTER_SIZES; fsi++) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t