vignette: reuse already declared ctx.

This commit is contained in:
Clément Bœsch 2014-05-16 06:48:41 +02:00
parent 491d602283
commit 8a0ba44e1a
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
unsigned x, y;
AVFilterContext *ctx = inlink->dst;
VignetteContext *s = ctx->priv;
AVFilterLink *outlink = inlink->dst->outputs[0];
AVFilterLink *outlink = ctx->outputs[0];
AVFrame *out;
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);