Mercurial > mplayer.hg
changeset 28719:650f328addb7
Zero-fill glyph_info_t before use.
Patch by Grigori G (greg chown ath cx).
author | eugeni |
---|---|
date | Fri, 27 Feb 2009 23:06:53 +0000 |
parents | e3b5070f671d |
children | 28d4bc4b9074 |
files | libass/ass_render.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_render.c Fri Feb 27 23:06:50 2009 +0000 +++ b/libass/ass_render.c Fri Feb 27 23:06:53 2009 +0000 @@ -1310,7 +1310,7 @@ key.italic = render_context.italic; key.outline = render_context.border * 0xFFFF; - info->glyph = info->outline_glyph = 0; + memset(info, 0, sizeof(glyph_info_t)); val = cache_find_glyph(&key); if (val) {