[FFmpeg-cvslog] avfilter/edgedetect: reuse already defined ctx.
Clément Bœsch
git at videolan.org
Sat May 17 14:16:42 CEST 2014
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat May 17 11:47:28 2014 +0200| [11e490334e0d5839ae40468960a14a964a09af3a] | committer: Clément Bœsch
avfilter/edgedetect: reuse already defined ctx.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=11e490334e0d5839ae40468960a14a964a09af3a
---
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 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;
More information about the ffmpeg-cvslog
mailing list