- fix ArgumentOutOfRangeException at MediaBrowser.Api.Playback.BaseStreamingService.ParseTimeSeekHeader (second substring argument is length)
This commit is contained in:
parent
efaa668158
commit
b711ece829
|
@ -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 New Issue
Block a user