[FFmpeg-cvslog] vf_delogo: fix an uninitialized read.
Anton Khirnov
git at videolan.org
Thu Feb 14 12:35:46 CET 2013
ffmpeg | branch: release/1.1 | Anton Khirnov <anton at khirnov.net> | Mon Jan 21 21:10:54 2013 +0100| [e835ce83e2ac518fb1227351379f3c8c8cc9066a] | committer: Reinhard Tartler
vf_delogo: fix an uninitialized read.
CC:libav-stable at libav.org
(cherry picked from commit f81c37e40fe3236d54da12aef9cdba48ba70ec31)
Signed-off-by: Reinhard Tartler <siretart at tauware.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e835ce83e2ac518fb1227351379f3c8c8cc9066a
---
libavfilter/vf_delogo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index 76848c3..5d56444 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)) {
More information about the ffmpeg-cvslog
mailing list