Commit f83896ab authored by Diego Biurrun's avatar Diego Biurrun

ape: Replace memset(0) by zero initialization

parent 8d695dc4
......@@ -935,10 +935,8 @@ static void long_filter_ehigh_3830(int32_t *buffer, int length)
{
int i, j;
int32_t dotprod, sign;
int32_t coeffs[8], delay[8];
int32_t coeffs[8] = { 0 }, delay[8] = { 0 };
memset(coeffs, 0, sizeof(coeffs));
memset(delay, 0, sizeof(delay));
for (i = 0; i < length; i++) {
dotprod = 0;
sign = APESIGN(buffer[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment