summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tinyff/image/png.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h
index 3d68fec..8d1b2f0 100644
--- a/include/tinyff/image/png.h
+++ b/include/tinyff/image/png.h
@@ -64,9 +64,7 @@ typedef struct {
static inline uint16_t ff_png_bpp(ff_png_ctx *ctx);
-// Chunk handling
-
-typedef (*ff_png_chunk_handler_ptr)(uint8_t *buf, size_t len, ff_png_ctx* ctx);
+typedef ff_result (*ff_png_chunk_handler_ptr)(uint8_t *buf, size_t len, ff_png_ctx* ctx);
typedef struct {
const char *type;