From a7146f55512718e39fc36a8d192cd566b376500e Mon Sep 17 00:00:00 2001 From: eugeni Date: Sun, 27 Aug 2006 10:57:29 +0000 Subject: Zero fill ass_settings_t before use. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19556 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_ass.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpcodecs') diff --git a/libmpcodecs/vf_ass.c b/libmpcodecs/vf_ass.c index 6515fd37c5..131f7324de 100644 --- a/libmpcodecs/vf_ass.c +++ b/libmpcodecs/vf_ass.c @@ -74,6 +74,7 @@ static int config(struct vf_instance_s* vf, 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; -- cgit v1.2.3