summaryrefslogtreecommitdiffstats
path: root/libass/ass_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_parse.c')
-rw-r--r--libass/ass_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_parse.c b/libass/ass_parse.c
index bb64971..8e76048 100644
--- a/libass/ass_parse.c
+++ b/libass/ass_parse.c
@@ -756,7 +756,7 @@ char *parse_tag(ASS_Renderer *render_priv, char *p, double pwr)
strncpy(style, start, p - start);
style[p - start] = '\0';
reset_render_context(render_priv,
- render_priv->track->styles + lookup_style(render_priv->track, style));
+ lookup_style_strict(render_priv->track, style));
free(style);
} else
reset_render_context(render_priv, NULL);