From 4507e8caa27156c25b0bfb10c034f15378dab254 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Tue, 10 Mar 2026 19:29:39 +1100 Subject: refactor(bmp): Use header size definition instead of literal just for readability lol --- src/format/image/bmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/image/bmp.c b/src/format/image/bmp.c index 4a0ca95..632def7 100644 --- a/src/format/image/bmp.c +++ b/src/format/image/bmp.c @@ -64,7 +64,7 @@ ff_result ff_open_bmp(ff_stream *stream, ff_bmp_ctx **out_ctx, ff_flag require_v } ff_result ff_bmp_header_handler(uint8_t *buf, size_t len, ff_bmp_ctx *ctx) { - if (len != 14) { + if (len != FF_BMP_HEADER_SIZE) { } } \ No newline at end of file -- cgit v1.2.3