Fix test NR-ENC-Bretagne2.ppm-4-encode on linux.

This commit is contained in:
Mathieu Malaterre 2011-12-20 17:49:12 +00:00
parent 6219ad32b0
commit 00b479cb79
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ void tcd_malloc_encode(opj_tcd_t *tcd, opj_image_t * image, opj_cp_t * cp, int c
for (i = 0; i < res->pw * res->ph * 3; i++) {
band->precincts[i].imsbtree = NULL;
band->precincts[i].incltree = NULL;
band->precincts[i].cblks.enc = NULL;
}
for (precno = 0; precno < res->pw * res->ph; precno++) {