summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a3a1bdb..870f89a 100644
--- a/libass/ass_parse.c
+++ b/libass/ass_parse.c
@@ -629,7 +629,7 @@ char *parse_tags(ASS_Renderer *render_priv, char *p, char *end, double pwr,
t2 = render_priv->state.event->Duration;
delta_t = t2 - t1;
t = render_priv->time - render_priv->state.event->Start; // FIXME: move to render_context
- if (t <= t1)
+ if (t < t1)
k = 0.;
else if (t >= t2)
k = 1.;