diff options
| author | Stefan Weil <sw@weilnetz.de> | 2024-02-28 15:28:51 +0100 |
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2024-02-28 16:23:43 +0100 |
| commit | 20ad29f497cf1afacb243c0019069ba10a0320bd (patch) | |
| tree | e9d17895b185218ff0fd35750da5d37ee45f4a05 /wrapping/java/openjp2/JavaOpenJPEG.c | |
| parent | 61309d7f66f6c6d6381c529b84931e9a7531c1b6 (diff) | |
Fix some typos (found by `codespell` and `typos`)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
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); |
