summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2018-07-30 21:04:28 +0200
committerStefan Weil <sw@weilnetz.de>2018-09-05 20:01:10 +0200
commit3d6ffaf3f3463b62830f88f50a8c1b510f555eb5 (patch)
treeb7a1b85dba172182e1ca0f1bee2d863ec2240086 /src/bin
parent9d1a9dc20dd5155bab977a4f53d05c4bbd66533a (diff)
Fix some typos in code comments and documentation
All typos were found by Codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/jp2/opj_decompress.c2
-rw-r--r--src/bin/mj2/opj_mj2_compress.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/jp2/opj_decompress.c b/src/bin/jp2/opj_decompress.c
index 088f3a29..a28a194b 100644
--- a/src/bin/jp2/opj_decompress.c
+++ b/src/bin/jp2/opj_decompress.c
@@ -134,7 +134,7 @@ typedef struct opj_decompress_params {
/** Verbose mode */
OPJ_BOOL m_verbose;
- /** tile number ot the decoded tile*/
+ /** tile number of the decoded tile */
OPJ_UINT32 tile_index;
/** Nb of tile to decode */
OPJ_UINT32 nb_tile_to_decode;
diff --git a/src/bin/mj2/opj_mj2_compress.c b/src/bin/mj2/opj_mj2_compress.c
index 4baefe67..c61b4c92 100644
--- a/src/bin/mj2/opj_mj2_compress.c
+++ b/src/bin/mj2/opj_mj2_compress.c
@@ -270,7 +270,7 @@ int main(int argc, char **argv)
/*
configure the event callbacks (not required)
- setting of each callback is optionnal
+ setting of each callback is optional
*/
memset(&event_mgr, 0, sizeof(opj_event_mgr_t));
event_mgr.error_handler = error_callback;