mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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;
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user