[trunk] fixed tile numbering in output message (fixes issue 370)

This commit is contained in:
Antonin Descampe 2014-09-29 12:03:36 +00:00
parent 31fd8d3fe8
commit 2720a1a405
1 changed files with 1 additions and 1 deletions

View File

@ -7750,7 +7750,7 @@ OPJ_BOOL opj_j2k_read_tile_header( opj_j2k_t * p_j2k,
}
opj_event_msg(p_manager, EVT_INFO, "Header of tile %d / %d has been read.\n",
p_j2k->m_current_tile_number, (p_j2k->m_cp.th * p_j2k->m_cp.tw) - 1);
p_j2k->m_current_tile_number+1, (p_j2k->m_cp.th * p_j2k->m_cp.tw));
*p_tile_index = p_j2k->m_current_tile_number;
*p_go_on = OPJ_TRUE;