mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/edgedetect: reuse already defined ctx.
This commit is contained in:
parent
4c49d0824a
commit
11e490334e
|
@ -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…
Reference in New Issue