diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-02 05:53:22 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-02 05:53:22 +0400 |
commit | 9e1914dfbafb59b424a7c06cfdd324a85c33ef44 (patch) | |
tree | b9ed3d2007b5fdfe7db4cbb40292ec65e4be3172 /libavfilter | |
parent | a3554bb45737d1c55daa9dfa516069b2fd157cd6 (diff) |
lavfi/hqdn3d: avoid use of uninitialized variable.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_hqdn3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index 92e0b44aac..939a31df28 100644 --- a/libavfilter/vf_hqdn3d.c +++ b/libavfilter/vf_hqdn3d.c @@ -327,7 +327,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in) AVFilterLink *outlink = inlink->dst->outputs[0]; AVFilterBufferRef *out; - int direct, c; + int direct = 0, c; if (in->perms & AV_PERM_WRITE) { direct = 1; |