mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
lavfi/drawtext: make use of outlink variable in filter_frame()
Fix warning.
This commit is contained in:
parent
3bb3cddd96
commit
3942294fd5
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user