summaryrefslogtreecommitdiff
path: root/libavfilter/vf_edgedetect.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-05-17 11:47:28 +0200
committerClément Bœsch <u@pkh.me>2014-05-17 14:16:04 +0200
commit11e490334e0d5839ae40468960a14a964a09af3a (patch)
treef869e779f51ae9a9971f38aecb07db1b9233ee5b /libavfilter/vf_edgedetect.c
parent4c49d0824a10b319c021a1df90abab5a45a644dc (diff)
avfilter/edgedetect: reuse already defined ctx.
Diffstat (limited to 'libavfilter/vf_edgedetect.c')
-rw-r--r--libavfilter/vf_edgedetect.c2
1 files changed, 1 insertions, 1 deletions
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;