diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-01-06 14:58:00 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-01-06 14:58:00 +0100 |
commit | 50b3cd22dd70658b39abd0ced31b495d4d0a4b1b (patch) | |
tree | 5ede3b9fb64f7d4472b6b18cbf7fdfddc0917ed9 /libavfilter | |
parent | bfe397e4313c640e2f05c90a2ff1541f50524094 (diff) | |
download | ffmpeg-50b3cd22dd70658b39abd0ced31b495d4d0a4b1b.tar.gz |
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')
-rw-r--r-- | libavfilter/af_biquads.c | 1 |
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) |