Browse Source

avfilter/edgedetect: reuse already defined ctx.

tags/n2.3
Clément Bœsch 11 years ago
parent
commit
11e490334e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_edgedetect.c

+ 1
- 1
libavfilter/vf_edgedetect.c 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;



Loading…
Cancel
Save