X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_edgedetect.c;h=7316412edd400f3d510483f6936a84224edce921;hb=cb8763bda7e5e59064193e6b29b0f806560f66d3;hp=c7e3da1aab70e9d1021ef7e1f38770cac4666a17;hpb=30cdf384d143ffdfb95d27191537c3f671741b91;p=ffmpeg diff --git a/libavfilter/vf_edgedetect.c b/libavfilter/vf_edgedetect.c index c7e3da1aab7..7316412edd4 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;