From 20ad29f497cf1afacb243c0019069ba10a0320bd Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 28 Feb 2024 15:28:51 +0100 Subject: Fix some typos (found by `codespell` and `typos`) Signed-off-by: Stefan Weil --- wrapping/java/openjp2/JavaOpenJPEG.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wrapping/java/openjp2/JavaOpenJPEG.c') 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); -- cgit v1.2.3