aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-01-21 21:10:54 +0100
committerReinhard Tartler <siretart@tauware.de>2013-02-07 07:18:56 +0100
commite835ce83e2ac518fb1227351379f3c8c8cc9066a (patch)
tree5d162e0f54edb0c25aed3d778f952aa574d2dafb
parente0e42504219370d85d5e93590e361877338090eb (diff)
downloadffmpeg-e835ce83e2ac518fb1227351379f3c8c8cc9066a.tar.gz
vf_delogo: fix an uninitialized read.
CC:libav-stable@libav.org (cherry picked from commit f81c37e40fe3236d54da12aef9cdba48ba70ec31) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rw-r--r--libavfilter/vf_delogo.c2
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)) {