From 0586891c02f3e038ba665450badc09e31f30ff28 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Mon, 30 Mar 2026 14:52:22 +1100 Subject: feat(png): Add context to isvalid and open_png --- include/tinyff/image/png.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/tinyff/image') diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h index 571c75d..82fba32 100644 --- a/include/tinyff/image/png.h +++ b/include/tinyff/image/png.h @@ -87,6 +87,8 @@ 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_png_normalize(ff_ctx* ctx, ff_png_ctx *png_ctx, ff_image_ctx **out_data); -- cgit v1.2.3