From 13f9b8ac3fbcd32302918f8ac6c54d3c95849818 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Sun, 1 Mar 2026 16:25:07 +1100 Subject: feat(png): Add require valid argument to ff_open_png --- include/tinyff/image/png.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3