History

avfilter/af_anlmdn: avoid creating frames with zero samples

Paul B Mahol committed 7 years ago

Commit fcfe8521 parent 1a266a11 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/af_anlmdn.c+1−1
@@ -317,7 +317,7 @@ static int request_frame(AVFilterLink *outlink) · 316 unmodified lines
317317
318318 if (s->eof_left < 0)
319319 s->eof_left = av_audio_fifo_size(s->fifo) - (s->S + s->K);
320− if (s->eof_left < 0)
320+ if (s->eof_left <= 0)
321321 return AVERROR_EOF;
322322 in = ff_get_audio_buffer(outlink, s->H);
323323 if (!in)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t