avfilter/av_biquads: scale a0 too

Fixes bug when using commands to alter coefficients.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2018-01-06 14:58:00 +01:00
parent bfe397e431
commit 50b3cd22dd
1 changed files with 1 additions and 0 deletions

View File

@ -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)