Commit 04a7ce1a authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_afade: add missing fifo write for second stream

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 59494863
......@@ -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);
......
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