diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-01 17:07:28 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-01 17:07:28 +1100 |
| commit | e776edfe54ef384535f940c51c8a2798b0322481 (patch) | |
| tree | ff5f480fdcc42870a18a0c98a76aba6521a446da /include/tinyff | |
| parent | 52c27fb38fb8a5d989e758eaec8529f8b7acf121 (diff) | |
refactor(bmp): Cancel bmp validation checker if require_valid is off
Diffstat (limited to 'include/tinyff')
| -rw-r--r-- | include/tinyff/image/bmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
