summaryrefslogtreecommitdiff
path: root/include/tinyff/image/png.h
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2025-12-19 14:15:54 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2025-12-19 14:15:54 +1100
commit1ff725b6211940b6ba78ba16c8740a2a18659de2 (patch)
tree2908bf3aaa1eb32dfe837ef110458b60e6a95b44 /include/tinyff/image/png.h
parent3c6ae042158df0236a8f9ccdaddb69a89ba66d57 (diff)
refactor(png): ff_open_png returns ff_result
Diffstat (limited to 'include/tinyff/image/png.h')
-rw-r--r--include/tinyff/image/png.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h
index caed675..de21b07 100644
--- a/include/tinyff/image/png.h
+++ b/include/tinyff/image/png.h
@@ -24,6 +24,6 @@ typedef struct {
} ff_png_ctx;
ff_result ff_png_isvalid(FILE *file);
-ff_png_ctx *ff_open_png(const char *filepath);
+ff_result ff_open_png(const char *filepath, ff_png_ctx **out_ctx);
#endif