[trunk] use the right v2 structure

This commit is contained in:
Mickael Savinaud 2012-10-24 14:10:03 +00:00
parent db08494776
commit f2db5ec4fb
1 changed files with 1 additions and 1 deletions

View File

@ -1740,7 +1740,7 @@ void opj_tcd_code_block_enc_deallocate (opj_tcd_precinct_v2_t * p_precinct)
opj_tcd_cblk_enc_v2_t * l_code_block = p_precinct->cblks.enc; opj_tcd_cblk_enc_v2_t * l_code_block = p_precinct->cblks.enc;
if (l_code_block) { if (l_code_block) {
l_nb_code_blocks = p_precinct->block_size / sizeof(opj_tcd_cblk_enc_t); l_nb_code_blocks = p_precinct->block_size / sizeof(opj_tcd_cblk_enc_v2_t);
for (cblkno = 0; cblkno < l_nb_code_blocks; ++cblkno) { for (cblkno = 0; cblkno < l_nb_code_blocks; ++cblkno) {
if (l_code_block->data) { if (l_code_block->data) {