mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
- fix ArgumentOutOfRangeException at MediaBrowser.Api.Playback.BaseStreamingService.ParseTimeSeekHeader (second substring argument is length)
This commit is contained in:
parent
efaa668158
commit
b711ece829
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ namespace MediaBrowser.Api.Playback
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
value = value.Substring(Npt.Length, index);
|
value = value.Substring(Npt.Length, index - Npt.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value.IndexOf(':') == -1)
|
if (value.IndexOf(':') == -1)
|
||||||
|
|
Loading…
Reference in a new issue