X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=wrapping%2Fjava%2Fopenjp2%2FJavaOpenJPEG.c;h=85b0c0af53dfbcfcdaffa9c283bda77a3e9c03cf;hb=5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd;hp=dad2dc66a08aec597354dd6d56dbccfbb630885b;hpb=2be20ce7d9996e960d79f3ad6ec439a9895849ed;p=openjpeg.git diff --git a/wrapping/java/openjp2/JavaOpenJPEG.c b/wrapping/java/openjp2/JavaOpenJPEG.c index dad2dc66..85b0c0af 100644 --- a/wrapping/java/openjp2/JavaOpenJPEG.c +++ b/wrapping/java/openjp2/JavaOpenJPEG.c @@ -1395,7 +1395,7 @@ static int parse_cmdline_encoder(int argc, char **argv, @return a pointer to a char[] Syntax of the index: one char for the version number (1): one byte because no problem with little endian, big endian etc. - one int for each of the following informations: + one int for each of the following information: Image Width Image Height progression order @@ -1468,7 +1468,7 @@ static char* create_index_into_byte_array(opj_codestream_info_t *cstr_info, buffer[0] = 1; /* Version stored on a byte*/ buffer++; - /* Remaining informations are stored on a int.*/ + /* Remaining information are stored on a int.*/ ((int*)buffer)[buffer_pos++] = cstr_info->image_w; ((int*)buffer)[buffer_pos++] = cstr_info->image_h; ((int*)buffer)[buffer_pos++] = cstr_info->prog;