summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
Diffstat (limited to 'src/format')
-rw-r--r--src/format/image/png.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/format/image/png.c b/src/format/image/png.c
index e8aefcb..3b1fe5c 100644
--- a/src/format/image/png.c
+++ b/src/format/image/png.c
@@ -442,7 +442,7 @@ ff_result ff_png_trans_handler(ff_ctx* ctx, uint8_t *buf, size_t len, ff_png_ctx
{
(void)buf; // Unused (for now)
- ff_dprintf(ctx, "png: PLTE chunk received\n"); // TODO: Format
+ ff_dprintf(ctx, "png: tRNS chunk received\n"); // TODO: Format
if (png_ctx->color_type == 0) { // Grayscale
if (len != 2) {
@@ -451,7 +451,6 @@ ff_result ff_png_trans_handler(ff_ctx* ctx, uint8_t *buf, size_t len, ff_png_ctx
return FF_RESULT_ERROR_INVALID_FILE;
}
}
- (void)buf; // Unused (for now)
return FF_RESULT_WARN_NO_IMPL;
}