[trunk] correct a mis use of an old struct

This commit is contained in:
Mickael Savinaud 2012-10-25 14:10:01 +00:00
parent f824078c14
commit 668484ba8f
1 changed files with 1 additions and 1 deletions

View File

@ -2095,7 +2095,7 @@ static opj_bool opj_j2k_read_siz(opj_j2k_v2_t *p_j2k,
opj_event_msg(p_manager, EVT_ERROR, "Not enough memory to take in charge SIZ marker\n"); opj_event_msg(p_manager, EVT_ERROR, "Not enough memory to take in charge SIZ marker\n");
return OPJ_FALSE; return OPJ_FALSE;
} }
memset(l_cp->tcps,0,l_nb_tiles*sizeof(opj_tcp_t)); memset(l_cp->tcps,0,l_nb_tiles*sizeof(opj_tcp_v2_t));
#ifdef USE_JPWL #ifdef USE_JPWL
if (l_cp->correct) { if (l_cp->correct) {