diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2025-12-19 17:20:02 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2025-12-19 17:20:02 +1100 |
| commit | e943a6867f0e37f5eb68e9911a1971f747ed7531 (patch) | |
| tree | 6b7020f4a62414e00c223c51a31733db20fd817c /include/tinyff/image/png.h | |
| parent | 827a9e0ceb9b5da11cdcf1f3aa6585b1ea247688 (diff) | |
feat(png): add ff_next_chunk function
Diffstat (limited to 'include/tinyff/image/png.h')
| -rw-r--r-- | include/tinyff/image/png.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h index 78b92e4..95ab94f 100644 --- a/include/tinyff/image/png.h +++ b/include/tinyff/image/png.h @@ -5,9 +5,10 @@ #include <stdio.h> #include <stdbool.h> #include <string.h> +#include <stdlib.h> #include "tinyff/result.h" - +#include "tinyff/common.h" static const unsigned char PNG_SIGNATURE[8] = { @@ -50,6 +51,6 @@ typedef struct { ff_result ff_png_isvalid(FILE *file); ff_result ff_open_png(const char *filepath, ff_png_ctx **out_ctx); - +ff_result ff_next_chunk(FILE *file, ff_png_chunk **out_chunk); #endif |
