summaryrefslogtreecommitdiff
path: root/include/tinyff/image
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-01 16:25:07 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-01 16:25:07 +1100
commit13f9b8ac3fbcd32302918f8ac6c54d3c95849818 (patch)
tree70a19bfaa59d7c2f5ea2c8217a0bd526bd91f568 /include/tinyff/image
parente6611a0bb47c93fd26c5ef4d7a7c7d2bfd099bf7 (diff)
feat(png): Add require valid argument to ff_open_png
Diffstat (limited to 'include/tinyff/image')
-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 000f186..05d5846 100644
--- a/include/tinyff/image/png.h
+++ b/include/tinyff/image/png.h
@@ -98,7 +98,7 @@ const ff_png_chunk_handler ff_png_chunk_handlers[] = {
ff_result ff_png_isvalid(ff_stream *stream);
-ff_result ff_open_png(ff_stream *stream, ff_png_ctx **out_ctx);
+ff_result ff_open_png(ff_stream *stream, ff_png_ctx **out_ctx, ff_flag require_valid);
ff_result ff_png_normalize(ff_png_ctx *ctx, ff_image_ctx **out_data);