adding partno and numpart info as part of the warning message (issue #69)
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 3 Jun 2011 08:47:30 +0000 (08:47 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 3 Jun 2011 08:47:30 +0000 (08:47 +0000)
CHANGES
libopenjpeg/j2k.c

diff --git a/CHANGES b/CHANGES
index fb28c2cd34d2af634f5abeac3928ab56aeddff53..3773a5869158a7386d5be53149c6756011caab0e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@ What's New for OpenJPEG
 ! : changed
 + : added
 
+June 3, 2011
++ [malaterre] adding partno and numpart info as part of the warning message (issue #69)
+
 May 23, 2011
 * [antonin] fixed a bug in autotools that prevented "make distcheck" to work properly (credit to Vincent Torri)
 + [antonin] added autotools as a build method for jpip (credit to Vincent Torri)
index 3a783931f8877f68bc472f6924790ad09e4a1ccb..cbdee114692e5a8bf6c64086614fc98ca669f483 100644 (file)
@@ -1282,7 +1282,7 @@ static void j2k_read_sot(opj_j2k_t *j2k) {
        numparts = cio_read(cio, 1);
   
   if (partno >= numparts) {
-    opj_event_msg(j2k->cinfo, EVT_WARNING, "SOT marker inconsistency in tile %d: tile-part index greater than number of tile-parts\n", tileno);
+    opj_event_msg(j2k->cinfo, EVT_WARNING, "SOT marker inconsistency in tile %d: tile-part index greater (%d) than number of tile-parts (%d)\n", tileno, partno, numparts);
     numparts = partno+1;
   }