diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-11-21 23:23:55 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-11-21 23:27:34 +0100 |
commit | 9cd56bb94c857d23194628953169d5d2de073ce0 (patch) | |
tree | d66c4a613c372d1b6e984c54025e800cb3c09afc /libavfilter | |
parent | bbb68be0ccf4db59ba31341979dfcd9a9556f18d (diff) | |
download | ffmpeg-9cd56bb94c857d23194628953169d5d2de073ce0.tar.gz |
avfilter/af_aiir: fix array length when selecting conjugate poles
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_aiir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c index ffe2606da6..ac9558b8aa 100644 --- a/libavfilter/af_aiir.c +++ b/libavfilter/af_aiir.c @@ -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; |