Skip to content

Commit

Permalink
Revert "Make sure to allocate on 16bits alignement. Fix issue #624"
Browse files Browse the repository at this point in the history
This reverts commit 553714a.
  • Loading branch information
mayeut committed Oct 9, 2015
1 parent 553714a commit de0a9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/openjp2/tcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit de0a9ed

Please sign in to comment.