[FFmpeg-cvslog] avfilter/af_afade: add missing fifo write for second stream

Paul B Mahol git at videolan.org
Mon Nov 23 10:44:13 CET 2015


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Nov 23 10:37:51 2015 +0100| [04a7ce1a8c6779d13ddaf488d4087a63e4b0ce42] | committer: Paul B Mahol

avfilter/af_afade: add missing fifo write for second stream

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavfilter/af_afade.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/af_afade.c b/libavfilter/af_afade.c
index 7bc7eb3..ca9f2c4 100644
--- a/libavfilter/af_afade.c
+++ b/libavfilter/af_afade.c
@@ -493,6 +493,8 @@ static int acrossfade_filter_frame(AVFilterLink *inlink, AVFrame *in)
 
         av_audio_fifo_write(s->fifo[1], (void **)in->extended_data, in->nb_samples);
     } else if (av_audio_fifo_size(s->fifo[1]) >= s->nb_samples) {
+        av_audio_fifo_write(s->fifo[1], (void **)in->extended_data, in->nb_samples);
+
         if (s->overlap) {
             cf[0] = ff_get_audio_buffer(outlink, s->nb_samples);
             cf[1] = ff_get_audio_buffer(outlink, s->nb_samples);



More information about the ffmpeg-cvslog mailing list