1
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 03:06:28 +01:00

Zerofill libass static variables during initialization.

Patch by Jindrich Makovicka <makovick a gmail d com>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20208 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2006-10-14 14:42:23 +00:00
parent 965a305938
commit 47006b0d7d

View File

@ -220,6 +220,10 @@ ass_instance_t* ass_init(void)
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);