adding partno and numpart info as part of the warning message (issue #69)

This commit is contained in:
Mathieu Malaterre 2011-06-03 08:47:30 +00:00
parent 645d7cab86
commit 3da66d4d79
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View 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;
}