Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-05-17 13:47:28 +0400
committerClément Bœsch <u@pkh.me>2014-05-17 16:16:04 +0400
commit11e490334e0d5839ae40468960a14a964a09af3a (patch)
treef869e779f51ae9a9971f38aecb07db1b9233ee5b /libavfilter
parent4c49d0824a10b319c021a1df90abab5a45a644dc (diff)
avfilter/edgedetect: reuse already defined ctx.
Diffstat (limited to 'libavfilter')
-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;