[vlc-commits] Freetype: fix valgrind warning
Tristan Matthews
git at videolan.org
Tue Jan 21 10:19:10 CET 2014
vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Tue Jan 21 04:16:31 2014 -0500| [508d398c6f249aafcddc6650ddc8dcdce0b23d70] | committer: Tristan Matthews
Freetype: fix valgrind warning
Fixes "Conditional jump or move depends on uninitialised value(s)"
in RenderCommon (freetype.c:1705)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=508d398c6f249aafcddc6650ddc8dcdce0b23d70
---
modules/text_renderer/freetype.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index 9769258..3401621 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -1882,6 +1882,7 @@ static int Create( vlc_object_t *p_this )
p_sys->p_face = 0;
p_sys->p_library = 0;
p_sys->style.i_font_size = 0;
+ p_sys->style.i_style_flags = 0;
/*
* The following variables should not be cached, as they might be changed on-the-fly:
More information about the vlc-commits
mailing list