[FFmpeg-cvslog] avfilter/split: use ff_outlink_get_status()

Paul B Mahol git at videolan.org
Sat Nov 3 19:25:34 EET 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Nov  3 18:17:30 2018 +0100| [242f7bf20254045b71f5a2a1bbd72212352b9352] | committer: Paul B Mahol

avfilter/split: use ff_outlink_get_status()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=242f7bf20254045b71f5a2a1bbd72212352b9352
---

 libavfilter/split.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavfilter/split.c b/libavfilter/split.c
index 8b260a9ba3..89af360cb0 100644
--- a/libavfilter/split.c
+++ b/libavfilter/split.c
@@ -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) {



More information about the ffmpeg-cvslog mailing list