[FFmpeg-cvslog] avfilter/av_biquads: scale a0 too
Paul B Mahol
git at videolan.org
Sat Jan 6 16:00:24 EET 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jan 6 14:58:00 2018 +0100| [50b3cd22dd70658b39abd0ced31b495d4d0a4b1b] | committer: Paul B Mahol
avfilter/av_biquads: scale a0 too
Fixes bug when using commands to alter coefficients.
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50b3cd22dd70658b39abd0ced31b495d4d0a4b1b
---
libavfilter/af_biquads.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 6e60e3b1b7..d5c3823e64 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -382,6 +382,7 @@ static int config_filter(AVFilterLink *outlink, int reset)
s->b0 /= s->a0;
s->b1 /= s->a0;
s->b2 /= s->a0;
+ s->a0 /= s->a0;
s->cache = av_realloc_f(s->cache, sizeof(ChanCache), inlink->channels);
if (!s->cache)
More information about the ffmpeg-cvslog
mailing list