openjp2/j2k: Validate all SGcod/SPcod/SPcoc parameter values.
[openjpeg.git] / src / lib / openmj2 / mj2.c
index 01335fc66189332c5af4f8b2ca6d012d36114ea1..8e036f182db6bb7727e91e7800471a2fddee3b77 100644 (file)
@@ -534,7 +534,7 @@ void mj2_write_stsz(mj2_tk_t * tk, opj_cio_t *cio)
 
     else {
         cio_write(cio, 0,
-                  4);       /* Sample Size = 0 becase they all have different sizes */
+                  4);       /* Sample Size = 0 because they all have different sizes */
 
         cio_write(cio, tk->num_samples, 4); /* Sample Count */