Commit 87f5e797 authored by Stefano Sabatini's avatar Stefano Sabatini

vf_drawtext: use ctx for expressing outlink and dtext in end_frame

(Very) slighly improve readability.
parent 3de68420
......@@ -798,9 +798,9 @@ static void null_draw_slice(AVFilterLink *link, int y, int h, int slice_dir) { }
static void end_frame(AVFilterLink *inlink)
{
AVFilterLink *outlink = inlink->dst->outputs[0];
AVFilterContext *ctx = inlink->dst;
DrawTextContext *dtext = inlink->dst->priv;
AVFilterLink *outlink = ctx->outputs[0];
DrawTextContext *dtext = ctx->priv;
AVFilterBufferRef *picref = inlink->cur_buf;
dtext->var_values[VAR_T] = picref->pts == AV_NOPTS_VALUE ?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment