[MPlayer-cvslog] r20208 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Sat Oct 14 16:42:24 CEST 2006
Author: eugeni
Date: Sat Oct 14 16:42:23 2006
New Revision: 20208
Modified:
trunk/libass/ass_render.c
Log:
Zerofill libass static variables during initialization.
Patch by Jindrich Makovicka <makovick a gmail d com>.
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Sat Oct 14 16:42:23 2006
@@ -220,6 +220,10 @@
FT_Library ft;
ass_instance_t* priv = 0;
+ memset(&render_context, 0, sizeof(render_context));
+ memset(&frame_context, 0, sizeof(frame_context));
+ memset(&text_info, 0, sizeof(text_info));
+
if (font_fontconfig && font_name)
family = strdup(font_name);
More information about the MPlayer-cvslog
mailing list