summaryrefslogtreecommitdiffstats
path: root/libAACenc
diff options
context:
space:
mode:
authorJeffrey Knockel <jeff250@gmail.com>2012-10-25 12:12:57 +0300
committerMartin Storsjo <martin@martin.st>2012-10-25 12:14:05 +0300
commitfea3c1d0ffaf5975bb15462e11edf9c7a664890d (patch)
tree980a49d25495786ccc61389451694970fce42137 /libAACenc
parent790bf9f088f8960b62d189eb44322d078109f272 (diff)
downloadODR-AudioEnc-fea3c1d0ffaf5975bb15462e11edf9c7a664890d.tar.gz
ODR-AudioEnc-fea3c1d0ffaf5975bb15462e11edf9c7a664890d.tar.bz2
ODR-AudioEnc-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.
Diffstat (limited to 'libAACenc')
-rw-r--r--libAACenc/src/aacEnc_ram.cpp2
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 !