mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-08 15:15:33 +01:00
avfilter/af_anlmdn: avoid creating frames with zero samples
This commit is contained in:
@@ -317,7 +317,7 @@ static int request_frame(AVFilterLink *outlink)
|
||||
|
||||
if (s->eof_left < 0)
|
||||
s->eof_left = av_audio_fifo_size(s->fifo) - (s->S + s->K);
|
||||
if (s->eof_left < 0)
|
||||
if (s->eof_left <= 0)
|
||||
return AVERROR_EOF;
|
||||
in = ff_get_audio_buffer(outlink, s->H);
|
||||
if (!in)
|
||||
|
||||
Reference in New Issue
Block a user