summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");