Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-05-30 11:55:28 +0300
committerPaul B Mahol <onemda@gmail.com>2020-05-30 19:04:14 +0300
commitaac16abd926e3813eff8b25902ae61222af8d37c (patch)
tree5fc42fa3680d705d017e0a196c3c2190fda94113 /libavfilter
parent726dbc57f8162ce82c245a2fdfef2fa074c99dc4 (diff)
avfilter/af_aiir: use correct size when allocating in zp2tf
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_aiir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c
index 214c998348..9427d25b50 100644
--- a/libavfilter/af_aiir.c
+++ b/libavfilter/af_aiir.c
@@ -468,8 +468,8 @@ static int convert_zp2tf(AVFilterContext *ctx, int channels)
IIRChannel *iir = &s->iir[ch];
double *topc, *botc;
- topc = av_calloc((iir->nb_ab[0] + 1) * 2, sizeof(*topc));
- botc = av_calloc((iir->nb_ab[1] + 1) * 2, sizeof(*botc));
+ topc = av_calloc((iir->nb_ab[1] + 1) * 2, sizeof(*topc));
+ botc = av_calloc((iir->nb_ab[0] + 1) * 2, sizeof(*botc));
if (!topc || !botc) {
ret = AVERROR(ENOMEM);
goto fail;