From 9286858573ef5e430ac2fb24c274a6fcd41a1edd Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 7 Mar 2023 20:25:49 +0100 Subject: Bump Wuffs --- fiv-io.c | 5 ++--- wuffs-mirror-release-c | 2 +- 2 files changed, 3 insertions(+), 4 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 index 0b70377..40ff91b 160000 --- a/wuffs-mirror-release-c +++ b/wuffs-mirror-release-c @@ -1 +1 @@ -Subproject commit 0b70377a12c81cf88afe259f2b4085eb7a59eb59 +Subproject commit 40ff91b31b3286aa92fd3cb4656975b275ef8b10 -- cgit v1.2.3-70-g09d2