aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-11-22 14:16:52 +0100
committerPaul B Mahol <onemda@gmail.com>2020-11-22 14:22:19 +0100
commit42ccef2846ed04c8c0532f5e60040e16fc8f6953 (patch)
tree038b0d42de4ae911bf89abca408161d8356cccfa
parentf5dcaf2daa34d9cbe6e6ad13ea2c8a7ee43d0064 (diff)
downloadffmpeg-42ccef2846ed04c8c0532f5e60040e16fc8f6953.tar.gz
avfilter/af_biquads: remove not needed code
-rw-r--r--libavfilter/af_biquads.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 6a81908ff3..d82eb420a7 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -388,16 +388,14 @@ static void biquad_latt_## name (BiquadsContext *s, \
in = ibuf[i]; \
t0 = in - k1 * s0; \
t1 = t0 * k1 + s0; \
- s0 = t1; \
out += t1 * v2; \
\
t0 = t0 - k0 * s1; \
t1 = t0 * k0 + s1; \
out += t1 * v1; \
- s1 = t1; \
\
out += t0 * v0; \
- s0 = s1; \
+ s0 = t1; \
s1 = t0; \
\
out = out * wet + in * dry; \