diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-01-31 19:26:02 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-31 20:28:42 +0000 |
commit | 80ba1ddb58b5923b9f36a6acd542affc4ca722eb (patch) | |
tree | b2bac0e8b1f9fca83508c7ead2083e648bf5c667 /libavcodec/dcadsp.c | |
parent | 8cb3c557a9f3b24bc55325e3f64a2150b983305c (diff) | |
download | ffmpeg-80ba1ddb58b5923b9f36a6acd542affc4ca722eb.tar.gz |
Remove unneeded add bias from 3 functions.
DSPContext.vector_fmul_window()
DCADSPContext.lfe_fir()
SynthFilterContext.synth_filter_float()
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dcadsp.c')
-rw-r--r-- | libavcodec/dcadsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dcadsp.c b/libavcodec/dcadsp.c index af48e3ce42..dd4994d276 100644 --- a/libavcodec/dcadsp.c +++ b/libavcodec/dcadsp.c @@ -23,7 +23,7 @@ #include "dcadsp.h" static void dca_lfe_fir_c(float *out, const float *in, const float *coefs, - int decifactor, float scale, float bias) + int decifactor, float scale) { float *out2 = out + decifactor; const float *cf0 = coefs; @@ -39,8 +39,8 @@ static void dca_lfe_fir_c(float *out, const float *in, const float *coefs, v0 += s * *cf0++; v1 += s * *--cf1; } - *out++ = (v0 * scale) + bias; - *out2++ = (v1 * scale) + bias; + *out++ = v0 * scale; + *out2++ = v1 * scale; } } |