Commit 9cd56bb9 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_aiir: fix array length when selecting conjugate poles

parent bbb68be0
......@@ -514,7 +514,7 @@ static int decompose_zp2biquads(AVFilterContext *ctx, int channels)
}
}
for (i = 0; i < iir->nb_ab[1]; i++) {
for (i = 0; i < iir->nb_ab[0]; i++) {
if (isnan(iir->ab[0][2 * i]) || isnan(iir->ab[0][2 * i + 1]))
continue;
......
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