summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-10 19:29:39 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-10 19:29:39 +1100
commit4507e8caa27156c25b0bfb10c034f15378dab254 (patch)
tree9eb43647dafbf082070b434292aee76bafa6d7a5
parent072ee2558ac6c057626df58dc3a34c17546cd1a8 (diff)
refactor(bmp): Use header size definition instead of literal
just for readability lol
-rw-r--r--src/format/image/bmp.c2
1 files changed, 1 insertions, 1 deletions
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