lavfi/trim: mark link closed on EOF.

Fix trac ticket #2620.
pull/23/merge
Nicolas George 12 years ago
parent fc82f4a1f8
commit 50a4d076ce
  1. 4
      libavfilter/trim.c

@ -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;
}
}

Loading…
Cancel
Save