diff options
author | Clément Bœsch <u@pkh.me> | 2014-05-17 11:47:28 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-05-17 14:16:04 +0200 |
commit | 11e490334e0d5839ae40468960a14a964a09af3a (patch) | |
tree | f869e779f51ae9a9971f38aecb07db1b9233ee5b /libavfilter/vf_edgedetect.c | |
parent | 4c49d0824a10b319c021a1df90abab5a45a644dc (diff) | |
download | ffmpeg-streaming-11e490334e0d5839ae40468960a14a964a09af3a.zip ffmpeg-streaming-11e490334e0d5839ae40468960a14a964a09af3a.tar.gz |
avfilter/edgedetect: reuse already defined ctx.
Diffstat (limited to 'libavfilter/vf_edgedetect.c')
-rw-r--r-- | libavfilter/vf_edgedetect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c index c7e3da1..7316412 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; |