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

This commit is contained in:
Mathieu Malaterre 2011-12-20 17:54:04 +00:00
parent 8ff1ba325d
commit 596b5cd732
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,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++) {