Fix off-by-one error in \fad, \fade
commit807a767908b1bcd6cfd414f3f232306b285223db
authorGrigori Goronzy <greg@blackbox>
Mon, 29 Aug 2011 17:15:31 +0000 (29 19:15 +0200)
committerGrigori Goronzy <greg@blackbox>
Mon, 29 Aug 2011 17:15:31 +0000 (29 19:15 +0200)
treefffd002f648165828696f5feaa676a174e0d96d8
parenta0b118ea048a5c1898657f76fae9776227f49891
Fix off-by-one error in \fad, \fade

Typical greater vs. greater-or-equal case. This especially fixes fades
with zero delays. A zero delay in the two-argument form means no fade at
all, but previously this faded over a single frame, since the code used
"greater" semantics, while "greater or equal" is required here.

Notably, this avoids blinking/flickering in some tightly timed karaoke
scripts.
libass/ass_parse.c