Commit 173d1b3
committed
gpujpeg_image_calculate_size: add assertion
he values may be invalid if struct uninitialized
**may** fail:
`gpujpegtool -e 16384x1024.p_u8.tst out.jpg`
tst pattern doesn't initialize the gpujpeg_image_parameters, namely
with_padding), which occurs since the commit c35b498 (2025-05-07).1 parent 13601ed commit 173d1b3
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1155 | 1155 | | |
1156 | 1156 | | |
1157 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1158 | 1162 | | |
1159 | 1163 | | |
1160 | 1164 | | |
| |||
0 commit comments