diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-09-15 16:27:52 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-09-15 16:27:52 +0000 |
commit | aaf4e703f6d9583e1a910191f39e738cf5595e24 (patch) | |
tree | 6e32d7653f186320289d718ee0280e720ad84942 | |
parent | b290972b8ff82272d4905166f8f0cbb3a6c49ff8 (diff) | |
download | ffmpeg-aaf4e703f6d9583e1a910191f39e738cf5595e24.tar.gz |
avfilter/af_stereowiden: fix 2nd argument for av_calloc
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/af_stereowiden.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_stereowiden.c b/libavfilter/af_stereowiden.c index 30f8754c04..8f671cabf7 100644 --- a/libavfilter/af_stereowiden.c +++ b/libavfilter/af_stereowiden.c @@ -73,7 +73,7 @@ static int config_input(AVFilterLink *inlink) StereoWidenContext *s = ctx->priv; s->length = 2 * s->delay * inlink->sample_rate / 1000; - s->buffer = av_calloc(s->length, sizeof(s->buffer)); + s->buffer = av_calloc(s->length, sizeof(*s->buffer)); if (!s->buffer) return AVERROR(ENOMEM); s->write = s->buffer; |