aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-28 08:47:21 +0100
committerReinhard Tartler <siretart@tauware.de>2013-03-16 07:58:07 +0100
commitc50241080d7599c90fc8b4e74c5f8d62a4caae52 (patch)
tree0cd7fd5f157cbfcde55b7f6ae82041effd2800a4
parent22c27e1f4a6ff3d8d0409b30c8a9edb689ffdeaa (diff)
downloadffmpeg-c50241080d7599c90fc8b4e74c5f8d62a4caae52.tar.gz
vf_hqdn3d: fix uninitialized variable use
CC:libav-stable@libav.org (cherry picked from commit d0a863ac891eae49ceaa4de7f759270bc87e668d) Conflicts: 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 085900fbce..30f7817ec0 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -333,6 +333,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in)
direct = 1;
out = in;
} else {
+ direct = 0;
out = ff_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
if (!out) {
avfilter_unref_bufferp(&in);