summaryrefslogtreecommitdiff
path: root/src/format/image
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-03 18:33:22 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-03 18:33:22 +1100
commitbd41a3392fec2f3cf7a23707a4604c78fcc1fac8 (patch)
tree8239dfeef65a4ca89ddbdeb810e304485d901fdb /src/format/image
parentca214e6cd61a6f035d18ae7e96e6d63064b22859 (diff)
feat(result): AddBMP invalid signature result
Diffstat (limited to 'src/format/image')
-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 8c4d39b..ca6268e 100644
--- a/src/format/image/bmp.c
+++ b/src/format/image/bmp.c
@@ -19,7 +19,7 @@ ff_result ff_bmp_isvalid(ff_ctx* ctx, ff_stream* stream)
if (memcmp(raw_sig, BMP_SIGNATURE, 2) != 0) {
ff_dprintf(ctx, "bmp: signature mismatch\n");
- return FF_RESULT_ERROR_INVALID_PNG_SIGNATURE;
+ return FF_RESULT_ERROR_INVALID_BMP_SIGNATURE;
}
ff_dprintf(ctx, "bmp: signature valid\n");