From 887d31d455915b6bde6814063384dafdee61164c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 28 Feb 2013 08:47:21 +0100 Subject: [PATCH] vf_gradfun: fix uninitialized variable use CC:libav-stable@libav.org --- libavfilter/vf_gradfun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 05412cffcc..ca7ef69144 100644 --- a/libavfilter/vf_gradfun.c +++ b/libavfilter/vf_gradfun.c @@ -193,6 +193,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) direct = 1; out = in; } else { + direct = 0; out = ff_get_video_buffer(outlink, outlink->w, outlink->h); if (!out) { av_frame_free(&in);