From d0a863ac891eae49ceaa4de7f759270bc87e668d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 28 Feb 2013 08:47:21 +0100 Subject: [PATCH] vf_hqdn3d: fix uninitialized variable use CC:libav-stable@libav.org --- libavfilter/vf_hqdn3d.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index 3251b6ffc1..50e904b940 100644 --- a/libavfilter/vf_hqdn3d.c +++ b/libavfilter/vf_hqdn3d.c @@ -316,6 +316,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);