Drop old facts after an impure function call

This commit is contained in:
Nigel Tao committed 2021-02-02 22:11:45 +11:00
1 parent 4848859f97
commit 10146b75dd
3 files changed
+43 -4

No files matched your search

+1
View File
@@ -32404,6 +32404,7 @@ wuffs_png__decoder__decode_ihdr(
uint8_t t_3 = *iop_a_src++;
self->private_impl.f_color_type = t_3;
}
self->private_impl.f_bytes_per_row = 0;
wuffs_png__decoder__calculate_bytes_per_row(self);
if (self->private_impl.f_bytes_per_row == 0) {
status = wuffs_base__make_status(wuffs_png__error__unsupported_png_file);