From 11e490334e0d5839ae40468960a14a964a09af3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 17 May 2014 11:47:28 +0200 Subject: [PATCH] avfilter/edgedetect: reuse already defined ctx. --- libavfilter/vf_edgedetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c index c7e3da1aab..7316412edd 100644 --- a/libavfilter/vf_edgedetect.c +++ b/libavfilter/vf_edgedetect.c @@ -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;