diff options
author | Jeffrey Knockel <jeff250@gmail.com> | 2012-10-25 12:12:57 +0300 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2012-10-25 12:14:05 +0300 |
commit | fea3c1d0ffaf5975bb15462e11edf9c7a664890d (patch) | |
tree | 980a49d25495786ccc61389451694970fce42137 | |
parent | 790bf9f088f8960b62d189eb44322d078109f272 (diff) | |
download | fdk-aac-fea3c1d0ffaf5975bb15462e11edf9c7a664890d.tar.gz fdk-aac-fea3c1d0ffaf5975bb15462e11edf9c7a664890d.tar.bz2 fdk-aac-fea3c1d0ffaf5975bb15462e11edf9c7a664890d.zip |
Make sure AACdynamic_RAM gets allocated aligned to 8 bytes
This fixes assert failures on platforms where malloc doesn't provide
8 byte alignment, such as Win9x.
-rw-r--r-- | libAACenc/src/aacEnc_ram.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libAACenc/src/aacEnc_ram.cpp b/libAACenc/src/aacEnc_ram.cpp index 9366235..45bca93 100644 --- a/libAACenc/src/aacEnc_ram.cpp +++ b/libAACenc/src/aacEnc_ram.cpp @@ -95,7 +95,7 @@ amm-info@iis.fraunhofer.de #include "aacEnc_ram.h" - C_ALLOC_MEM (AACdynamic_RAM, FIXP_DBL, AAC_ENC_DYN_RAM_SIZE/sizeof(FIXP_DBL)) + C_AALLOC_MEM (AACdynamic_RAM, FIXP_DBL, AAC_ENC_DYN_RAM_SIZE/sizeof(FIXP_DBL)) /* Static memory areas, must not be overwritten in other sections of the decoder ! |