summaryrefslogtreecommitdiff
path: root/src/format/image/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/image/png.c')
-rw-r--r--src/format/image/png.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/format/image/png.c b/src/format/image/png.c
index 48c073c..781c462 100644
--- a/src/format/image/png.c
+++ b/src/format/image/png.c
@@ -384,11 +384,6 @@ ff_result ff_png_data_handler(ff_ctx* ctx, uint8_t *buf, size_t len, ff_png_ctx
ff_memcpy(previous_row, reconstructed_buf, png_ctx->width * bpp);
} else {
- // Hissy fit time
- // Just kidding
- // I got all day because of the heatwave going on outside
- // Indexed color handling
- // Allocate index map if not already done
if (png_ctx->data.imap == NULL) {
png_ctx->data.imap = ctx->allocator.ff_alloc(png_ctx->width * png_ctx->height);
@@ -594,4 +589,4 @@ ff_result ff_png_normalize(ff_ctx *ctx, ff_png_ctx *png_ctx, ff_image_ctx **out_
(void)png_ctx;
}
return FF_RESULT_OK;
-} \ No newline at end of file
+}