Update MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs

Co-Authored-By: cvium <cvium@users.noreply.github.com>
This commit is contained in:
Bond-009 2019-03-07 19:04:50 +01:00 committed by GitHub
parent 8c609bc9ce
commit e4c5d51860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);