summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 12:39:37 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 12:40:49 +1100
commit6d4fa967cbfb0d743a4123ab0fe177d10bf137d1 (patch)
tree10118de3486d3ccecfe4a31cc28e9f1886fdcf23
parent2d23cedb87c5e8c575b05827ab1467c40c329c3f (diff)
typo(result): SIGNITURE -> SIGNATURE
-rw-r--r--include/tinyff/result.h2
-rw-r--r--src/format/image/bmp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tinyff/result.h b/include/tinyff/result.h
index 55ddcfd..3ed69b9 100644
--- a/include/tinyff/result.h
+++ b/include/tinyff/result.h
@@ -18,7 +18,7 @@ typedef enum {
// Media specific
// PNG
- FF_RESULT_ERROR_INVALID_PNG_SIGNITURE,
+ FF_RESULT_ERROR_INVALID_PNG_SIGNATURE,
// Archive (more general archives terms)
FF_RESULT_ERROR_DECOMPRESSION_FAILURE,
diff --git a/src/format/image/bmp.c b/src/format/image/bmp.c
index 9c531d7..6a33f40 100644
--- a/src/format/image/bmp.c
+++ b/src/format/image/bmp.c
@@ -18,7 +18,7 @@ ff_result ff_bmp_isvalid(ff_stream* stream)
if (memcmp(raw_sig, BMP_SIGNATURE, 2) != 0) {
ff_dprintf("bmp: signature mismatch\n");
- return FF_RESULT_ERROR_INVALID_PNG_SIGNITURE;
+ return FF_RESULT_ERROR_INVALID_PNG_SIGNATURE;
}
ff_dprintf("bmp: signature valid\n");