avfilter/edgedetect: reuse already defined ctx.

This commit is contained in:
Clément Bœsch 2014-05-17 11:47:28 +02:00
parent 4c49d0824a
commit 11e490334e
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
{
AVFilterContext *ctx = inlink->dst;
EdgeDetectContext *edgedetect = ctx->priv;
AVFilterLink *outlink = inlink->dst->outputs[0];
AVFilterLink *outlink = ctx->outputs[0];
int p, direct = 0;
AVFrame *out;