From e776edfe54ef384535f940c51c8a2798b0322481 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Sun, 1 Mar 2026 17:07:28 +1100 Subject: refactor(bmp): Cancel bmp validation checker if require_valid is off --- include/tinyff/image/bmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tinyff/image/bmp.h') diff --git a/include/tinyff/image/bmp.h b/include/tinyff/image/bmp.h index c63f974..bfafcdc 100644 --- a/include/tinyff/image/bmp.h +++ b/include/tinyff/image/bmp.h @@ -45,7 +45,7 @@ typedef struct { typedef ff_result (*ff_bmp_section_handler_ptr)(uint8_t *buf, size_t len, ff_bmp_ctx* ctx); ff_result ff_bmp_isvalid(ff_stream *stream); -ff_result ff_open_bmp(ff_stream *stream, ff_bmp_ctx **out_ctx); +ff_result ff_open_bmp(ff_stream *stream, ff_bmp_ctx **out_ctx, ff_flag require_valid); #endif // BMP_H_ \ No newline at end of file -- cgit v1.2.3