aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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