1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavfi/trim: mark link closed on EOF.

Fix trac ticket #2620.
This commit is contained in:
Nicolas George 2013-06-02 11:35:04 +02:00
parent fc82f4a1f8
commit 50a4d076ce

View File

@ -162,7 +162,7 @@ static int trim_filter_frame(AVFilterLink *inlink, AVFrame *frame)
drop = 0;
if (drop) {
s->eof = 1;
s->eof = inlink->closed = 1;
goto drop;
}
}
@ -296,7 +296,7 @@ static int atrim_filter_frame(AVFilterLink *inlink, AVFrame *frame)
}
if (drop) {
s->eof = 1;
s->eof = inlink->closed = 1;
goto drop;
}
}