summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-14 19:06:44 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-14 19:06:44 +1000
commitbfb9fbd2fb8558532eb2223ec0281a04b2043c73 (patch)
treec4a4f34b6fb688ae3bc12aa221fa84af6a12a724 /include
parent3bc1075a710d13835380dd7ad382ea16a66936dd (diff)
feat(png): Add ff_close_png function
Diffstat (limited to 'include')
-rw-r--r--include/tinyff/image/png.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h
index 8ccc4e6..5119fb1 100644
--- a/include/tinyff/image/png.h
+++ b/include/tinyff/image/png.h
@@ -90,6 +90,7 @@ extern const ff_png_chunk_handler ff_png_chunk_handlers[];
ff_result ff_png_isvalid(ff_ctx* ctx, ff_stream *stream);
ff_result ff_open_png(ff_ctx* ctx, ff_stream *stream, ff_png_ctx **out_ctx, ff_flag require_valid);
+ff_result ff_close_png(ff_ctx* ctx, ff_png_ctx *png_ctx);
ff_result ff_png_normalize(ff_ctx* ctx, ff_png_ctx *png_ctx, ff_image_ctx **out_data);