1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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;