mirror of https://git.ffmpeg.org/ffmpeg.git
vignette: reuse already declared ctx.
This commit is contained in:
parent
491d602283
commit
8a0ba44e1a
|
@ -200,7 +200,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||||
unsigned x, y;
|
unsigned x, y;
|
||||||
AVFilterContext *ctx = inlink->dst;
|
AVFilterContext *ctx = inlink->dst;
|
||||||
VignetteContext *s = ctx->priv;
|
VignetteContext *s = ctx->priv;
|
||||||
AVFilterLink *outlink = inlink->dst->outputs[0];
|
AVFilterLink *outlink = ctx->outputs[0];
|
||||||
AVFrame *out;
|
AVFrame *out;
|
||||||
|
|
||||||
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
|
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
|
||||||
|
|
Loading…
Reference in New Issue