Use floor(pts * 1000 + 1e-6) instead of llrint() for all timestamp conversions to avoid floating-point precision errors causing early subtitle presentation on boundry frames. Fixes: #17453 Signed-off-by: Ricardo Fonseca <[email protected]>
get_lines