diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2024-02-28 16:49:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 16:49:26 +0100 |
| commit | 1b72e85dc9a2b55c9142a74fb5b93338d59f92f0 (patch) | |
| tree | aeeef83ddd4d13eb8d7fffb693bcb0912b9dc0e3 /wrapping/java/openjp2/JavaOpenJPEG.c | |
| parent | 7a2773d3bab5c078d19edc7326957e95202a593c (diff) | |
| parent | 20ad29f497cf1afacb243c0019069ba10a0320bd (diff) | |
Merge pull request #1517 from stweil/typos
Fix some typos (found by `codespell` and `typos`)
Diffstat (limited to 'wrapping/java/openjp2/JavaOpenJPEG.c')
| -rw-r--r-- | wrapping/java/openjp2/JavaOpenJPEG.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wrapping/java/openjp2/JavaOpenJPEG.c b/wrapping/java/openjp2/JavaOpenJPEG.c index 85b0c0af..3a996dba 100644 --- a/wrapping/java/openjp2/JavaOpenJPEG.c +++ b/wrapping/java/openjp2/JavaOpenJPEG.c @@ -663,7 +663,7 @@ static int parse_cmdline_encoder(int argc, char **argv, /* ----------------------------------------------------- */ - case 'r': { /* rates rates/distorsion */ + case 'r': { /* rates rates/distortion */ char *s = opj_optarg; while (sscanf(s, "%f", ¶meters->tcp_rates[parameters->tcp_numlayers]) == 1) { @@ -1452,7 +1452,7 @@ static char* create_index_into_byte_array(opj_codestream_info_t *cstr_info, + (10 /* image_w until decomposition */ + (cstr_info->numdecompos[0] + 1) * 2 /* pdx size for each tile */ + 2 /* main_head_end + codestream_size */ - + cstr_info->tw * cstr_info->th * 4 /* tile info, without distorsion info */ + + cstr_info->tw * cstr_info->th * 4 /* tile info, without distortion info */ + cstr_info->tw * cstr_info->th * cstr_info->numlayers * (cstr_info->numdecompos[0] + 1) * cstr_info->numcomps * prec_max * 8 ) * sizeof(int); |
