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