diff options
| author | mayeut <mayeut@users.noreply.github.com> | 2015-10-09 21:13:06 +0200 |
|---|---|---|
| committer | mayeut <mayeut@users.noreply.github.com> | 2015-10-09 21:13:06 +0200 |
| commit | de0a9ed10302f94e1d0808ab4e88d6152742cb04 (patch) | |
| tree | 469ad8ecc6072cb1de9855eb6840ba937c1a6af8 /src/lib | |
| parent | 553714a87a92930dd69f5762e0615c12dfcbd873 (diff) | |
Revert "Make sure to allocate on 16bits alignement. Fix issue #624"
This reverts commit 553714a87a92930dd69f5762e0615c12dfcbd873.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/tcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c index 3feb74ca..2fccff1c 100644 --- 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; } |
