diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-01-21 21:10:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-01-29 07:32:54 +0100 |
commit | f81c37e40fe3236d54da12aef9cdba48ba70ec31 (patch) | |
tree | 050c0aade02d703c757b7633778cf43007ee705f /libavfilter | |
parent | 76e74e4831f08876f1f3d30a1640b0d084bed64a (diff) | |
download | ffmpeg-f81c37e40fe3236d54da12aef9cdba48ba70ec31.tar.gz |
vf_delogo: fix an uninitialized read.
CC:libav-stable@libav.org
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_delogo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 76848c3198..5d56444e20 100644 --- a/libavfilter/vf_delogo.c +++ b/libavfilter/vf_delogo.c @@ -223,7 +223,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *in) AVFilterBufferRef *out; int hsub0 = desc->log2_chroma_w; int vsub0 = desc->log2_chroma_h; - int direct; + int direct = 0; int plane; if ((in->perms & AV_PERM_WRITE) && !(in->perms & AV_PERM_PRESERVE)) { |