diff --git a/CHANGES b/CHANGES index fb28c2cd..3773a586 100644 --- 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) diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index 3a783931..cbdee114 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -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; }