From c61e6113697b8d9a1cd004050cce4ac8795d9842 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Tue, 5 May 2026 20:07:05 +1000 Subject: minor(png): Change tRNS debug recieving message incorrect chunk type --- src/format/image/png.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3