mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
af_amix: Add missing error check
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
c27d7c027c
commit
b198e09138
@ -468,6 +468,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
|
||||
|
||||
ret = av_audio_fifo_write(s->fifos[i], (void **)buf->extended_data,
|
||||
buf->nb_samples);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
||||
av_frame_free(&buf);
|
||||
return output_frame(outlink, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user