diff options
| author | Stefan Weil <sw@weilnetz.de> | 2018-07-30 21:04:28 +0200 |
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2018-09-05 20:01:10 +0200 |
| commit | 3d6ffaf3f3463b62830f88f50a8c1b510f555eb5 (patch) | |
| tree | b7a1b85dba172182e1ca0f1bee2d863ec2240086 /src/lib/openmj2 | |
| parent | 9d1a9dc20dd5155bab977a4f53d05c4bbd66533a (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/lib/openmj2')
| -rw-r--r-- | src/lib/openmj2/mj2.c | 2 | ||||
| -rw-r--r-- | src/lib/openmj2/tcd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openmj2/mj2.c b/src/lib/openmj2/mj2.c index 01335fc6..8e036f18 100644 --- a/src/lib/openmj2/mj2.c +++ b/src/lib/openmj2/mj2.c @@ -534,7 +534,7 @@ void mj2_write_stsz(mj2_tk_t * tk, opj_cio_t *cio) else { cio_write(cio, 0, - 4); /* Sample Size = 0 becase they all have different sizes */ + 4); /* Sample Size = 0 because they all have different sizes */ cio_write(cio, tk->num_samples, 4); /* Sample Count */ diff --git a/src/lib/openmj2/tcd.h b/src/lib/openmj2/tcd.h index 83bf788e..4a530014 100644 --- a/src/lib/openmj2/tcd.h +++ b/src/lib/openmj2/tcd.h @@ -114,7 +114,7 @@ typedef struct opj_tcd_precinct { int x0, y0, x1, y1; /* dimension of the precinct : left upper corner (x0, y0) right low corner (x1,y1) */ int cw, ch; /* number of precinct in width and height */ - union { /* code-blocks informations */ + union { /* code-blocks information */ opj_tcd_cblk_enc_t* enc; opj_tcd_cblk_dec_t* dec; } cblks; |
