diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-02 02:53:22 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-02 02:53:22 +0100 |
commit | 9e1914dfbafb59b424a7c06cfdd324a85c33ef44 (patch) | |
tree | b9ed3d2007b5fdfe7db4cbb40292ec65e4be3172 /libavfilter/vf_hqdn3d.c | |
parent | a3554bb45737d1c55daa9dfa516069b2fd157cd6 (diff) | |
download | ffmpeg-streaming-9e1914dfbafb59b424a7c06cfdd324a85c33ef44.zip ffmpeg-streaming-9e1914dfbafb59b424a7c06cfdd324a85c33ef44.tar.gz |
lavfi/hqdn3d: avoid use of uninitialized variable.
Diffstat (limited to 'libavfilter/vf_hqdn3d.c')
-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 92e0b44..939a31d 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; |