summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index 5cab560e50..ead118ddde 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -1310,7 +1310,7 @@ static void get_outline_glyph(int symbol, glyph_info_t* info, FT_Vector* advance
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) {