mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/af_anlmdn: avoid creating frames with zero samples
This commit is contained in:
parent
1a266a1ef9
commit
fcfe85220d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user