[FFmpeg-cvslog] avfilter/af_ladspa: remove not wanted line

Paul B Mahol git at videolan.org
Thu May 12 11:50:57 EEST 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu May 12 10:40:49 2022 +0200| [ee9345e9054c78ada2e3eda95750c2b4457fc462] | committer: Paul B Mahol

avfilter/af_ladspa: remove not wanted line

This fixes output when trimming output samples.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee9345e9054c78ada2e3eda95750c2b4457fc462
---

 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) {



More information about the ffmpeg-cvslog mailing list