projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff1ba3
)
Fix test NR-ENC-Bretagne2.ppm-4-encode on linux.
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Tue, 20 Dec 2011 17:54:04 +0000
(17:54 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Tue, 20 Dec 2011 17:54:04 +0000
(17:54 +0000)
libopenjpeg/tcd.c
patch
|
blob
|
history
diff --git
a/libopenjpeg/tcd.c
b/libopenjpeg/tcd.c
index d5086e6db702a234cedf80484d904b66d0a48a93..2e9e3234771e412041f3248674311ae92e7770f5 100644
(file)
--- 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++) {