aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-12-06 13:48:00 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-12-06 13:51:27 +0100
commit3942294fd595942dbc04b912ea6e2bbbd07464b8 (patch)
tree337d2e2f5461ae0b97b03b2d314a9000b366ca3b
parent3bb3cddd96d3aae6909be710652ee6f5c4638a65 (diff)
downloadffmpeg-3942294fd595942dbc04b912ea6e2bbbd07464b8.tar.gz
lavfi/drawtext: make use of outlink variable in filter_frame()
Fix warning.
-rw-r--r--libavfilter/vf_drawtext.c2
1 files changed, 1 insertions, 1 deletions
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[] = {