summaryrefslogtreecommitdiff
path: root/libavcodec/iirfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/iirfilter.c')
-rw-r--r--libavcodec/iirfilter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c
index 98366e2c08..a942068aee 100644
--- a/libavcodec/iirfilter.c
+++ b/libavcodec/iirfilter.c
@@ -151,8 +151,6 @@ static int biquad_init_coeffs(void *avc, struct FFIIRFilterCoeffs *c,
// during filtering, the delay state will include the gain multiplication
c->cx[0] = lrintf(x0 / c->gain);
c->cx[1] = lrintf(x1 / c->gain);
- c->cy[0] /= c->gain;
- c->cy[1] /= c->gain;
return 0;
}