[MPlayer-cvslog] r19556 - trunk/libmpcodecs/vf_ass.c

eugeni subversion at mplayerhq.hu
Sun Aug 27 12:57:29 CEST 2006


Author: eugeni
Date: Sun Aug 27 12:57:29 2006
New Revision: 19556

Modified:
   trunk/libmpcodecs/vf_ass.c

Log:
Zero fill ass_settings_t before use.


Modified: trunk/libmpcodecs/vf_ass.c
==============================================================================
--- trunk/libmpcodecs/vf_ass.c	(original)
+++ trunk/libmpcodecs/vf_ass.c	Sun Aug 27 12:57:29 2006
@@ -74,6 +74,7 @@
 	vf->priv->dirty_rows = malloc(vf->priv->outh);
 	
 	if (vf->priv->ass_priv) {
+		memset(&settings, 0, sizeof(ass_settings_t));
 		settings.frame_width = vf->priv->outw;
 		settings.frame_height = vf->priv->outh;
 		settings.font_size_coeff = ass_font_scale;



More information about the MPlayer-cvslog mailing list