Browse code

lavfi/drawtext: make use of outlink variable in filter_frame()

Fix warning.

Stefano Sabatini authored on 2012/12/06 21:48:00
Showing 1 changed files
... ...
@@ -1001,7 +1001,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *frame)
1001 1001
 
1002 1002
     dtext->var_values[VAR_N] += 1.0;
1003 1003
 
1004
-    return ff_filter_frame(inlink->dst->outputs[0], frame);
1004
+    return ff_filter_frame(outlink, frame);
1005 1005
 }
1006 1006
 
1007 1007
 static const AVFilterPad avfilter_vf_drawtext_inputs[] = {