Commit 11e49033 authored by Clément Bœsch's avatar Clément Bœsch

avfilter/edgedetect: reuse already defined ctx.

parent 4c49d082
...@@ -290,7 +290,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) ...@@ -290,7 +290,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
{ {
AVFilterContext *ctx = inlink->dst; AVFilterContext *ctx = inlink->dst;
EdgeDetectContext *edgedetect = ctx->priv; EdgeDetectContext *edgedetect = ctx->priv;
AVFilterLink *outlink = inlink->dst->outputs[0]; AVFilterLink *outlink = ctx->outputs[0];
int p, direct = 0; int p, direct = 0;
AVFrame *out; AVFrame *out;
......
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