From 668484ba8f940a6839fbee83f206486788daa951 Mon Sep 17 00:00:00 2001 From: Mickael Savinaud Date: Thu, 25 Oct 2012 14:10:01 +0000 Subject: [PATCH] [trunk] correct a mis use of an old struct --- src/lib/openjp2/j2k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c index c800f4b0..c99d2067 100644 --- a/src/lib/openjp2/j2k.c +++ b/src/lib/openjp2/j2k.c @@ -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"); 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 if (l_cp->correct) {