From fea3c1d0ffaf5975bb15462e11edf9c7a664890d Mon Sep 17 00:00:00 2001 From: Jeffrey Knockel Date: Thu, 25 Oct 2012 12:12:57 +0300 Subject: 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. --- libAACenc/src/aacEnc_ram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libAACenc/src') 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 ! -- cgit v1.2.3