Skip to content

Commit cc1cfa2

Browse files
mtmd : fix uninitialized variable in bicubic_resize (#16275)
Signed-off-by: Aaron Teo <[email protected]> Co-authored-by: Aaron Teo <[email protected]>
1 parent 54dbc37 commit cc1cfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/mtmd/clip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3067,7 +3067,7 @@ struct image_manipulation {
30673067
dst.buf.resize(3 * target_width * target_height);
30683068

30693069
float Cc;
3070-
float C[5];
3070+
float C[5] = {};
30713071
float d0, d2, d3, a0, a1, a2, a3;
30723072
int i, j, k, jj;
30733073
int x, y;

0 commit comments

Comments
 (0)