[trunk] add sentinel when tile_index is null
This commit is contained in:
parent
a4d1b1ba21
commit
f0c732452f
|
@ -5520,6 +5520,7 @@ opj_bool j2k_read_sot_v2 (
|
|||
/* Index */
|
||||
if (p_j2k->cstr_index)
|
||||
{
|
||||
assert(p_j2k->cstr_index->tile_index != 00);
|
||||
p_j2k->cstr_index->tile_index[p_j2k->m_current_tile_number].tileno = p_j2k->m_current_tile_number;
|
||||
p_j2k->cstr_index->tile_index[p_j2k->m_current_tile_number].current_tpsno = l_current_part;
|
||||
|
||||
|
|
Loading…
Reference in New Issue