aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_hqdn3d.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-28 08:47:21 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-11 18:28:35 +0100
commitd0a863ac891eae49ceaa4de7f759270bc87e668d (patch)
treed83d5f532aace940d770e79b4b86a4563fbce02b /libavfilter/vf_hqdn3d.c
parent887d31d455915b6bde6814063384dafdee61164c (diff)
downloadffmpeg-d0a863ac891eae49ceaa4de7f759270bc87e668d.tar.gz
vf_hqdn3d: fix uninitialized variable use
CC:libav-stable@libav.org
Diffstat (limited to 'libavfilter/vf_hqdn3d.c')
-rw-r--r--libavfilter/vf_hqdn3d.c1
1 files changed, 1 insertions, 0 deletions
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);