summaryrefslogtreecommitdiff
path: root/libopenjpeg/tcd.c
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2011-12-20 17:54:04 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2011-12-20 17:54:04 +0000
commit596b5cd7321139edc367fbadd04aa9d5857627f6 (patch)
tree47905eda353d129c81fd00cb5df50441f0ac7efb /libopenjpeg/tcd.c
parent8ff1ba325dc1f1530fd33adb042bdc13da01a156 (diff)
Fix test NR-ENC-Bretagne2.ppm-4-encode on linux.
Diffstat (limited to 'libopenjpeg/tcd.c')
-rw-r--r--libopenjpeg/tcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopenjpeg/tcd.c b/libopenjpeg/tcd.c
index d5086e6d..2e9e3234 100644
--- a/libopenjpeg/tcd.c
+++ b/libopenjpeg/tcd.c
@@ -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++) {