aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-03-07 19:04:50 +0100
committerGitHub <noreply@github.com>2019-03-07 19:04:50 +0100
commite4c5d51860b5e421abac8d453c4655188074501d (patch)
tree3836b0063aeddbb8260e8d56f89c338424775d51 /MediaBrowser.Api
parent8c609bc9ce9f548161c3d950706653a525f7e1de (diff)
Update MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
Co-Authored-By: cvium <cvium@users.noreply.github.com>
Diffstat (limited to 'MediaBrowser.Api')
-rw-r--r--MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs b/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
index 399ac2be0..f43f26b2f 100644
--- a/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
+++ b/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
@@ -366,7 +366,7 @@ namespace MediaBrowser.Api.Playback.Progressive
// Headers only
if (isHeadRequest)
{
- return ResultFactory.GetResult(null, new byte[] { }, contentType, responseHeaders);
+ return ResultFactory.GetResult(null, Array.Empty<byte>(), contentType, responseHeaders);
}
var transcodingLock = ApiEntryPoint.Instance.GetTranscodingLock(outputPath);