Change strict message back to ERROR.

This commit is contained in:
Robert G. Jakabosky 2022-01-29 20:54:50 +08:00
parent 422171f796
commit fd4a757cf8
No known key found for this signature in database
GPG Key ID: 0C38AF433FE0B1C0
1 changed files with 1 additions and 1 deletions

View File

@ -1428,7 +1428,7 @@ static OPJ_BOOL opj_t2_read_packet_data(opj_t2_t* p_t2,
(l_current_data + l_seg->newlen > p_src_data + p_max_length) ||
(partial_buffer)) {
if(p_t2->cp->strict) {
opj_event_msg(p_manager, EVT_WARNING,
opj_event_msg(p_manager, EVT_ERROR,
"read: segment too long (%d) with max (%d) for codeblock %d (p=%d, b=%d, r=%d, c=%d)\n",
l_seg->newlen, p_max_length, cblkno, p_pi->precno, bandno, p_pi->resno,
p_pi->compno);