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:
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
Block a user