Browse Source

lavfi/trim: mark link closed on EOF.

Fix trac ticket #2620.
tags/n2.0
Nicolas George 12 years ago
parent
commit
50a4d076ce
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/trim.c

+ 2
- 2
libavfilter/trim.c View File

@@ -162,7 +162,7 @@ static int trim_filter_frame(AVFilterLink *inlink, AVFrame *frame)
drop = 0; drop = 0;


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


if (drop) { if (drop) {
s->eof = 1;
s->eof = inlink->closed = 1;
goto drop; goto drop;
} }
} }


Loading…
Cancel
Save