[FFmpeg-cvslog] avfilter/af_biquads: remove not needed code

Paul B Mahol git at videolan.org
Sun Nov 22 15:22:42 EET 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Nov 22 14:16:52 2020 +0100| [42ccef2846ed04c8c0532f5e60040e16fc8f6953] | committer: Paul B Mahol

avfilter/af_biquads: remove not needed code

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=42ccef2846ed04c8c0532f5e60040e16fc8f6953
---

 libavfilter/af_biquads.c | 4 +---
 1 file changed, 1 insertion(+), 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;                                           \



More information about the ffmpeg-cvslog mailing list