diff options
| author | marius <marius@dreamer-ge.com> | 2019-08-28 21:05:17 +0300 |
|---|---|---|
| committer | marius <marius@dreamer-ge.com> | 2019-08-28 21:05:17 +0300 |
| commit | b711ece82983dcefa40b5d3486b11250023a2b09 (patch) | |
| tree | d30d48e4a515f14f6223ae072218da3c8927a119 | |
| parent | efaa6681582de6a2ed8d19f40c015294db3d8993 (diff) | |
- fix ArgumentOutOfRangeException at MediaBrowser.Api.Playback.BaseStreamingService.ParseTimeSeekHeader (second substring argument is length)
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 496c2032a..17aa6b23a 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -634,7 +634,7 @@ namespace MediaBrowser.Api.Playback } else { - value = value.Substring(Npt.Length, index); + value = value.Substring(Npt.Length, index - Npt.Length); } if (value.IndexOf(':') == -1) |
