diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-22 12:39:07 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-22 12:39:07 +1100 |
| commit | 2d23cedb87c5e8c575b05827ab1467c40c329c3f (patch) | |
| tree | 5a57515cd73977745e04c37960f5374a8f8167f3 /include/tinyff/image/png.h | |
| parent | 515ac5d6f74337901896c150caa198b953cef5a1 (diff) | |
fix(png): Add ff_result return type to ff_png_chunk_handler_ptr
Diffstat (limited to 'include/tinyff/image/png.h')
| -rw-r--r-- | include/tinyff/image/png.h | 4 |
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; |
