aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-03-07 20:25:49 +0100
committerPřemysl Eric Janouch <p@janouch.name>2023-03-07 20:26:04 +0100
commit9286858573ef5e430ac2fb24c274a6fcd41a1edd (patch)
treed6e504b0b8eeda3144ab8c1b2d8d60287c2248d9
parent95bc91e0209ff0b5798d901f2dfd197f6d4311de (diff)
downloadfiv-9286858573ef5e430ac2fb24c274a6fcd41a1edd.tar.gz
fiv-9286858573ef5e430ac2fb24c274a6fcd41a1edd.tar.xz
fiv-9286858573ef5e430ac2fb24c274a6fcd41a1edd.zip
Bump Wuffs
-rw-r--r--fiv-io.c5
m---------wuffs-mirror-release-c0
2 files changed, 2 insertions, 3 deletions
diff --git a/fiv-io.c b/fiv-io.c
index 0c4d0e5..74dd56e 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -633,9 +633,8 @@ load_wuffs_frame(struct load_wuffs_frame_context *ctx, GError **error)
if (!wuffs_base__status__is_ok(&status)) {
set_error(error, wuffs_base__status__message(&status));
- // The PNG decoder, at minimum, will flush any pixel data, so use them.
- if (status.repr != wuffs_base__suspension__short_read)
- goto fail;
+ // The PNG decoder, at minimum, will flush any pixel data upon
+ // finding out that the input is truncated, so accept whatever we get.
}
if (ctx->target) {
diff --git a/wuffs-mirror-release-c b/wuffs-mirror-release-c
-Subproject 0b70377a12c81cf88afe259f2b4085eb7a59eb5
+Subproject 40ff91b31b3286aa92fd3cb4656975b275ef8b1