diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-03-07 20:25:49 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-03-07 20:26:04 +0100 |
commit | 9286858573ef5e430ac2fb24c274a6fcd41a1edd (patch) | |
tree | d6e504b0b8eeda3144ab8c1b2d8d60287c2248d9 | |
parent | 95bc91e0209ff0b5798d901f2dfd197f6d4311de (diff) | |
download | fiv-9286858573ef5e430ac2fb24c274a6fcd41a1edd.tar.gz fiv-9286858573ef5e430ac2fb24c274a6fcd41a1edd.tar.xz fiv-9286858573ef5e430ac2fb24c274a6fcd41a1edd.zip |
Bump Wuffs
-rw-r--r-- | fiv-io.c | 5 | ||||
m--------- | wuffs-mirror-release-c | 0 |
2 files changed, 2 insertions, 3 deletions
@@ -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 |