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

Fix warning.
This commit is contained in:
Stefano Sabatini 2012-12-06 13:48:00 +01:00
parent 3bb3cddd96
commit 3942294fd5

View File

@ -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[] = {