mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 05:20:48 +00:00
avfilter/af_afade: add missing fifo write for second stream
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
59494863ff
commit
04a7ce1a8c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user