projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
553714a
)
Revert "Make sure to allocate on 16bits alignement. Fix issue #624"
author
mayeut
<mayeut@users.noreply.github.com>
Fri, 9 Oct 2015 19:13:06 +0000
(21:13 +0200)
committer
mayeut
<mayeut@users.noreply.github.com>
Fri, 9 Oct 2015 19:13:06 +0000
(21:13 +0200)
This reverts commit
553714a87a92930dd69f5762e0615c12dfcbd873
.
src/lib/openjp2/tcd.c
patch
|
blob
|
history
diff --git
a/src/lib/openjp2/tcd.c
b/src/lib/openjp2/tcd.c
index 3feb74cae9d10889c3e8fe81fb8f51d48b575147..2fccff1c9c78d8b1dbb173bee63b248a2b66f876 100644
(file)
--- a/
src/lib/openjp2/tcd.c
+++ b/
src/lib/openjp2/tcd.c
@@
-626,7
+626,7
@@
void opj_tcd_destroy(opj_tcd_t *tcd) {
OPJ_BOOL opj_alloc_tile_component_data(opj_tcd_tilecomp_t *l_tilec)
{
if ((l_tilec->data == 00) || ((l_tilec->data_size_needed > l_tilec->data_size) && (l_tilec->ownsData == OPJ_FALSE))) {
- l_tilec->data = (OPJ_INT32 *) opj_
aligned_
malloc(l_tilec->data_size_needed);
+ l_tilec->data = (OPJ_INT32 *) opj_malloc(l_tilec->data_size_needed);
if (! l_tilec->data ) {
return OPJ_FALSE;
}