2
0
Эх сурвалжийг харах

- fix ArgumentOutOfRangeException at MediaBrowser.Api.Playback.BaseStreamingService.ParseTimeSeekHeader (second substring argument is length)

marius 5 жил өмнө
parent
commit
b711ece829

+ 1 - 1
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)