aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fiv-io.c')
-rw-r--r--fiv-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fiv-io.c b/fiv-io.c
index 6dedb65..aa053e8 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -3098,6 +3098,7 @@ fiv_io_encode_webp(
for (int i = h * picture.argb_stride; i-- > 0; argb++)
*argb |= 0xFF000000;
+ // TODO(p): Prevent or propagate VP8_ENC_ERROR_BAD_DIMENSION.
picture.writer = WebPMemoryWrite;
picture.custom_ptr = &writer;
if (!WebPEncode(config, &picture))