From ee9345e9054c78ada2e3eda95750c2b4457fc462 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 12 May 2022 10:40:49 +0200 Subject: [PATCH] avfilter/af_ladspa: remove not wanted line This fixes output when trimming output samples. --- libavfilter/af_ladspa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/af_ladspa.c b/libavfilter/af_ladspa.c index 1c3ede2ee2..fc93d56af7 100644 --- a/libavfilter/af_ladspa.c +++ b/libavfilter/af_ladspa.c @@ -231,7 +231,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) new_out_samples -= trim; s->in_trim -= trim; - out->nb_samples = new_out_samples; } if (new_out_samples <= 0) {