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

avfilter/af_crystalizer: use outlink instead of inlink

Doesn't change anything but is more correct.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent fdbd2619
......@@ -203,7 +203,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
if (av_frame_is_writable(in)) {
out = in;
} else {
out = ff_get_audio_buffer(inlink, in->nb_samples);
out = ff_get_audio_buffer(outlink, in->nb_samples);
if (!out) {
av_frame_free(&in);
return AVERROR(ENOMEM);
......
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