avfilter/vf_extractplanes: use ff_outlink_get_status()

This commit is contained in:
Paul B Mahol 2018-11-03 18:01:53 +01:00
parent 1052578dad
commit 639694eaa5

View File

@ -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);