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 c9df306..663afe1 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -1793,7 +1793,7 @@ ass_render_event(ASS_Renderer *render_priv, ASS_Event *event,
if (text_info->length >= text_info->max_glyphs) {
// Raise maximum number of glyphs
text_info->max_glyphs *= 2;
- text_info->glyphs =
+ text_info->glyphs = glyphs =
realloc(text_info->glyphs,
sizeof(GlyphInfo) * text_info->max_glyphs);
}