Fix potential out-of-bounds read (coverity) (#844)
[openjpeg.git] / src / lib / openjp3d / pi.h
index 4274f4e6cad6e3e4be3a2ceadd76191d45fbffa8..c81f9ef083d0049b4a8a89b8e701758e35e93419 100644 (file)
@@ -1,4 +1,9 @@
 /*
+ * The copyright in this software is being made available under the 2-clauses 
+ * BSD License, included below. This software may be subject to other third 
+ * party and contributor rights, including patent rights, and no such rights
+ * are granted under this license.
+ *
  * Copyright (c) 2001-2003, David Janssens
  * Copyright (c) 2002-2003, Yannick Verschueren
  * Copyright (c) 2003-2005, Francois Devaux and Antonin Descampe
@@ -77,7 +82,7 @@ typedef struct opj_pi_comp {
 Packet iterator 
 */
 typedef struct opj_pi_iterator {
-/** precise if the packet has been already used (usefull for progression order change) */
+/** precise if the packet has been already used (useful for progression order change) */
        short int *include;             
 /** layer step used to localize the packet in the include vector */
        int step_l;