aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-11-03 18:01:53 +0100
committerPaul B Mahol <onemda@gmail.com>2018-11-03 18:24:19 +0100
commit639694eaa554d2e174d87222f81740e37c2288ac (patch)
tree6173c6e430a267bfa8b0d1506e1c701014f2788b
parent1052578dadf72e400cee5ad2ad5dce899032d362 (diff)
downloadffmpeg-639694eaa554d2e174d87222f81740e37c2288ac.tar.gz
avfilter/vf_extractplanes: use ff_outlink_get_status()
-rw-r--r--libavfilter/vf_extractplanes.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c
index c1c8e694ca..f9171572ed 100644
--- a/libavfilter/vf_extractplanes.c
+++ b/libavfilter/vf_extractplanes.c
@@ -23,11 +23,9 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
-#define FF_INTERNAL_FIELDS 1
-#include "libavfilter/framequeue.h"
-
#include "avfilter.h"
#include "drawutils.h"
+#include "filters.h"
#include "internal.h"
#define PLANE_R 0x01
@@ -282,7 +280,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
const int idx = s->map[i];
AVFrame *out;
- if (outlink->status_in)
+ if (ff_outlink_get_status(outlink))
continue;
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);