From: Andre Noll Date: Sat, 17 Oct 2009 10:36:17 +0000 (+0200) Subject: remove step parameter from vector_fmul_add(). X-Git-Tag: v0.4.1~91 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=0756f0f6cf685f5e6c902f355cd8623c073af557;p=paraslash.git remove step parameter from vector_fmul_add(). --- diff --git a/wmadec_filter.c b/wmadec_filter.c index fdf312b9..3a88cdc0 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -630,11 +630,11 @@ static int decode_exp_vlc(struct private_wmadec_data *s, int ch) } static void vector_fmul_add(float *dst, const float *src0, const float *src1, - const float *src2, int src3, int len, int step) + const float *src2, int src3, int len) { int i; for (i = 0; i < len; i++) - dst[i * step] = src0[i] * src1[i] + src2[i] + src3; + dst[i] = src0[i] * src1[i] + src2[i] + src3; } static void vector_fmul_reverse_c(float *dst, const float *src0, @@ -663,7 +663,7 @@ static void wma_window(struct private_wmadec_data *s, float *out) bsize = s->frame_len_bits - s->block_len_bits; vector_fmul_add(out, in, s->windows[bsize], - out, 0, block_len, 1); + out, 0, block_len); } else { block_len = 1 << s->prev_block_len_bits; @@ -671,7 +671,7 @@ static void wma_window(struct private_wmadec_data *s, float *out) bsize = s->frame_len_bits - s->prev_block_len_bits; vector_fmul_add(out + n, in + n, s->windows[bsize], - out + n, 0, block_len, 1); + out + n, 0, block_len); memcpy(out + n + block_len, in + n + block_len, n * sizeof(float));