mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/split: use ff_outlink_get_status()
This commit is contained in:
parent
c8625e5c6f
commit
242f7bf202
|
@ -30,11 +30,9 @@
|
|||
#include "libavutil/mem.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
#define FF_INTERNAL_FIELDS 1
|
||||
#include "framequeue.h"
|
||||
|
||||
#include "avfilter.h"
|
||||
#include "audio.h"
|
||||
#include "filters.h"
|
||||
#include "formats.h"
|
||||
#include "internal.h"
|
||||
#include "video.h"
|
||||
|
@ -84,7 +82,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
|
|||
for (i = 0; i < ctx->nb_outputs; i++) {
|
||||
AVFrame *buf_out;
|
||||
|
||||
if (ctx->outputs[i]->status_in)
|
||||
if (ff_outlink_get_status(ctx->outputs[i]))
|
||||
continue;
|
||||
buf_out = av_frame_clone(frame);
|
||||
if (!buf_out) {
|
||||
|
|
Loading…
Reference in New Issue