summaryrefslogtreecommitdiff
path: root/libavfilter/vf_extractplanes.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2015-09-24 10:07:42 +0200
committerNicolas George <george@nsup.org>2015-12-22 16:04:30 +0100
commit108b4de5529a75b06da72b974b26625a8067001f (patch)
treec38c0fc0600038a55116cbc3246e8158c491df89 /libavfilter/vf_extractplanes.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/vf_extractplanes.c')
-rw-r--r--libavfilter/vf_extractplanes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index 1cb05e443a..6da3b2db66 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -219,7 +219,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
const int idx = s->map[i];
AVFrame *out;
- if (outlink->closed)
+ if (outlink->status)
continue;
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);