Update j2k.c
This commit is contained in:
parent
25552ac45b
commit
4f36758ba6
|
@ -4728,7 +4728,7 @@ static OPJ_BOOL opj_j2k_read_sod(opj_j2k_t *p_j2k,
|
|||
/* Check enough bytes left in stream before allocation */
|
||||
if ((OPJ_OFF_T)p_j2k->m_specific_param.m_decoder.m_sot_length >
|
||||
opj_stream_get_number_byte_left(p_stream)) {
|
||||
truncate = 1
|
||||
truncate = 1;
|
||||
// opj_event_msg(p_manager, EVT_ERROR,
|
||||
// "Tile part length size inconsistent with stream length\n");
|
||||
// return OPJ_FALSE;
|
||||
|
|
Loading…
Reference in New Issue