Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2015-09-24 11:07:42 +0300
committerNicolas George <george@nsup.org>2015-12-22 18:04:30 +0300
commit108b4de5529a75b06da72b974b26625a8067001f (patch)
treec38c0fc0600038a55116cbc3246e8158c491df89 /libavfilter/split.c
parent39a09e995d32d16e4f8c87a6ff5273cb9d98146e (diff)
lavfi: replace link.closed by link.status.
The status field can carry any error code instead of just EOF. Also only update it through a wrapper function and provide a timestamp. Update the few filters that used it directly.
Diffstat (limited to 'libavfilter/split.c')
-rw-r--r--libavfilter/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/split.c b/libavfilter/split.c
index 7353810677..1e4fb42ad0 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -77,7 +77,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
for (i = 0; i < ctx->nb_outputs; i++) {
AVFrame *buf_out;
- if (ctx->outputs[i]->closed)
+ if (ctx->outputs[i]->status)
continue;
buf_out = av_frame_clone(frame);
if (!buf_out) {