diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-10 19:29:39 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-10 19:29:39 +1100 |
| commit | 4507e8caa27156c25b0bfb10c034f15378dab254 (patch) | |
| tree | 9eb43647dafbf082070b434292aee76bafa6d7a5 /src/format | |
| parent | 072ee2558ac6c057626df58dc3a34c17546cd1a8 (diff) | |
refactor(bmp): Use header size definition instead of literal
just for readability lol
Diffstat (limited to 'src/format')
| -rw-r--r-- | src/format/image/bmp.c | 2 |
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 |
