You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
@@ -382,6 +382,7 @@ static int config_filter(AVFilterLink *outlink, int reset)
|
|||||||
s->b0 /= s->a0;
|
s->b0 /= s->a0;
|
||||||
s->b1 /= s->a0;
|
s->b1 /= s->a0;
|
||||||
s->b2 /= s->a0;
|
s->b2 /= s->a0;
|
||||||
|
s->a0 /= s->a0;
|
||||||
|
|
||||||
s->cache = av_realloc_f(s->cache, sizeof(ChanCache), inlink->channels);
|
s->cache = av_realloc_f(s->cache, sizeof(ChanCache), inlink->channels);
|
||||||
if (!s->cache)
|
if (!s->cache)
|
||||||
|
Reference in New Issue
Block a user