Spelling fixes (patch by ka7, #890, rebased on top of master)
[openjpeg.git] / wrapping / java / openjp2 / JavaOpenJPEG.c
index dad2dc66a08aec597354dd6d56dbccfbb630885b..85b0c0af53dfbcfcdaffa9c283bda77a3e9c03cf 100644 (file)
@@ -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;