diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-01-03 22:47:40 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-01-03 22:52:47 +0100 |
commit | 88cbd25b193dddb852bc1921b733c5dde5fee2fe (patch) | |
tree | 4e92b70448f964296c7e91590dc2d74116330c3f /libavfilter/af_earwax.c | |
parent | 677701c6b319d2d3b95a27179fde6ec2a863bf72 (diff) | |
download | ffmpeg-88cbd25b193dddb852bc1921b733c5dde5fee2fe.tar.gz |
avfilter: pass outlink to ff_get_audio_buffer()
This is more correct.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_earwax.c')
-rw-r--r-- | libavfilter/af_earwax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_earwax.c b/libavfilter/af_earwax.c index 7b880c86c6..cdd2b4fc49 100644 --- a/libavfilter/af_earwax.c +++ b/libavfilter/af_earwax.c @@ -115,7 +115,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples) { AVFilterLink *outlink = inlink->dst->outputs[0]; int16_t *taps, *endin, *in, *out; - AVFrame *outsamples = ff_get_audio_buffer(inlink, insamples->nb_samples); + AVFrame *outsamples = ff_get_audio_buffer(outlink, insamples->nb_samples); int len; if (!outsamples) { |