diff options
author | Clément Bœsch <u@pkh.me> | 2014-05-16 08:48:41 +0400 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-05-16 08:48:41 +0400 |
commit | 8a0ba44e1ac1707b9993504175b052e24bbf2b8c (patch) | |
tree | 78d48b8f183bd8d7af0cea01b5cbfffeb18bf9f9 /libavfilter/vf_vignette.c | |
parent | 491d602283cdde8cf8623fbacf55066551c57ae3 (diff) |
vignette: reuse already declared ctx.
Diffstat (limited to 'libavfilter/vf_vignette.c')
-rw-r--r-- | libavfilter/vf_vignette.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c index 420e7331dc..647051a07f 100644 --- a/libavfilter/vf_vignette.c +++ b/libavfilter/vf_vignette.c @@ -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); |