diff options
-rw-r--r-- | libass/ass_render.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index bdb5c647d6..b56a5f4e85 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -771,18 +771,18 @@ static char* parse_tag(char* p, double pwr) { a2 = 0; a3 = 0xFF; } else { - // 6-argument version (\fade) - // a1 and a2 (and a3) are opacity values - skip(','); - a3 = strtol(p, &p, 10); - skip(','); - t1 = strtoll(p, &p, 10); - skip(','); - t2 = strtoll(p, &p, 10); - skip(','); - t3 = strtoll(p, &p, 10); - skip(','); - t4 = strtoll(p, &p, 10); + // 6-argument version (\fade) + // a1 and a2 (and a3) are opacity values + skip(','); + a3 = strtol(p, &p, 10); + skip(','); + t1 = strtoll(p, &p, 10); + skip(','); + t2 = strtoll(p, &p, 10); + skip(','); + t3 = strtoll(p, &p, 10); + skip(','); + t4 = strtoll(p, &p, 10); } skip(')'); interpolate_alpha(frame_context.time - render_context.event->Start, t1, t2, t3, t4, a1, a2, a3); |