diff options
author | bweschke <bweschke@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-12-23 04:21:24 +0000 |
---|---|---|
committer | bweschke <bweschke@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-12-23 04:21:24 +0000 |
commit | 625f93307a45b94899b12a47d0fb01edeb8aceb1 (patch) | |
tree | 3917ab131e7e7a123749f4cfd83148a6ec7e226d /mg2ec.h | |
parent | 4d3a60c560ca9d3a5671204990090b71484027e7 (diff) |
Fix compile error on the MG2 echo canceler from revision 870
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@875 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mg2ec.h')
-rw-r--r-- | mg2ec.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -569,7 +569,7 @@ static inline struct echo_can_state *echo_can_create(int len, int adaption_mode) maxy = (1 << DEFAULT_SIGMA_LY_I); if (maxu < (1 << DEFAULT_SIGMA_LU_I)) maxu = (1 << DEFAULT_SIGMA_LU_I); - ec = (struct echo_can_state *)MALLOC(sizeof(echo_can_state_t) + + ec = (struct echo_can_state *)MALLOC(sizeof(struct echo_can_state) + 4 + /* align */ sizeof(int) * len + /* a_i */ sizeof(short) * len + /* a_s */ |