Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-01-06 16:58:00 +0300
committerPaul B Mahol <onemda@gmail.com>2018-01-06 16:58:00 +0300
commit50b3cd22dd70658b39abd0ced31b495d4d0a4b1b (patch)
tree5ede3b9fb64f7d4472b6b18cbf7fdfddc0917ed9 /libavfilter/af_biquads.c
parentbfe397e4313c640e2f05c90a2ff1541f50524094 (diff)
avfilter/av_biquads: scale a0 too
Fixes bug when using commands to alter coefficients. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_biquads.c')
-rw-r--r--libavfilter/af_biquads.c1
1 files changed, 1 insertions, 0 deletions
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)