]> git.sesse.net Git - ffmpeg/commitdiff
vf_hqdn3d: fix uninitialized variable use
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Feb 2013 07:47:21 +0000 (08:47 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 11 Mar 2013 17:28:35 +0000 (18:28 +0100)
CC:libav-stable@libav.org

libavfilter/vf_hqdn3d.c

index 3251b6ffc14a1c089a00016ead24775cd30873c6..50e904b9408cefb63b4e1038efdf1a1636618f5b 100644 (file)
@@ -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);