From 3942294fd595942dbc04b912ea6e2bbbd07464b8 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 6 Dec 2012 13:48:00 +0100 Subject: [PATCH] lavfi/drawtext: make use of outlink variable in filter_frame() Fix warning. --- libavfilter/vf_drawtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index ecc53275b1..53a60b1679 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -1001,7 +1001,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *frame) dtext->var_values[VAR_N] += 1.0; - return ff_filter_frame(inlink->dst->outputs[0], frame); + return ff_filter_frame(outlink, frame); } static const AVFilterPad avfilter_vf_drawtext_inputs[] = {