summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-11-26 13:37:33 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-11-26 13:37:33 +0000
commitf14da66ce544632aa605ee739d542491cc6f0efb (patch)
tree197a398426610ecdee1a4cca5f454dc50706038f /src/lib
parent14ab311d2f3814ec36ec6609b946364383f6a956 (diff)
[trunk] update test suite with issue 191 to 194 and update patch for 191 which should fail properly
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjp2/j2k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c
index 05bd3452..2fda7385 100644
--- a/src/lib/openjp2/j2k.c
+++ b/src/lib/openjp2/j2k.c
@@ -7883,8 +7883,8 @@ OPJ_BOOL opj_j2k_read_SPCod_SPCoc( opj_j2k_t *p_j2k,
++l_tccp->numresolutions; /* tccp->numresolutions = read() + 1 */
if (l_tccp->numresolutions > OPJ_J2K_MAXRLVLS) {
opj_event_msg(p_manager, EVT_ERROR,
- "Invalid value for numresolutions : %d\n",
- l_tccp->numresolutions);
+ "Invalid value for numresolutions : %d, max value is set in openjpeg.h at %d\n",
+ l_tccp->numresolutions, OPJ_J2K_MAXRLVLS);
return OPJ_FALSE;
}
++l_current_ptr;