Commit 8c825e43 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_aiir: fix first denominator calculation

parent 07a9e5ec
......@@ -1038,8 +1038,9 @@ static int config_output(AVFilterLink *outlink)
iir->ab[0][i] /= iir->ab[0][0];
}
iir->ab[0][0] = 1.0;
for (i = 0; i < iir->nb_ab[1]; i++) {
iir->ab[1][i] *= iir->g / iir->ab[0][0];
iir->ab[1][i] *= iir->g;
}
normalize_coeffs(ctx, ch);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment