瀏覽代碼

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

Co-Authored-By: cvium <cvium@users.noreply.github.com>
Bond-009 6 年之前
父節點
當前提交
e4c5d51860
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs

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