Commit 639694ea authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_extractplanes: use ff_outlink_get_status()

parent 1052578d
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/pixdesc.h" #include "libavutil/pixdesc.h"
#define FF_INTERNAL_FIELDS 1
#include "libavfilter/framequeue.h"
#include "avfilter.h" #include "avfilter.h"
#include "drawutils.h" #include "drawutils.h"
#include "filters.h"
#include "internal.h" #include "internal.h"
#define PLANE_R 0x01 #define PLANE_R 0x01
...@@ -282,7 +280,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) ...@@ -282,7 +280,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
const int idx = s->map[i]; const int idx = s->map[i];
AVFrame *out; AVFrame *out;
if (outlink->status_in) if (ff_outlink_get_status(outlink))
continue; continue;
out = ff_get_video_buffer(outlink, outlink->w, outlink->h); out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment