优化vtt精度

This commit is contained in:
nilaoda 2022-09-19 12:33:37 +08:00
parent 0f89ecc7cc
commit 1e076a166f
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ namespace N_m3u8DL_RE.Common.Entity
var time = 0L + ms;
for (int i = 0; i < t.Count(); i++)
{
time += (int)Math.Pow(60, i) * Convert.ToInt32(t[i]) * 1000;
time += (long)Math.Pow(60, i) * Convert.ToInt32(t[i]) * 1000;
}
return TimeSpan.FromMilliseconds(time);
}