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

Co-Authored-By: cvium <cvium@users.noreply.github.com>
pull/1010/head
Bond-009 5 years ago committed by GitHub
parent 8c609bc9ce
commit e4c5d51860
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save