Skip to content

The Free Software Media System - Server Backend & API

Fix build part 2

Davidcff9772e147b
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs
index caa601cf31..0b18756d6c 100644
--- a/Jellyfin.Api/Helpers/StreamingHelpers.cs
+++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs
@@ -185,7 +185,7 @@ namespace Jellyfin.Api.Helpers
encodingHelper.AttachMediaSourceInfo(state, mediaSource, url);
- var containerInternal = Path.GetExtension(state.RequestedUrl);
+ string? containerInternal = Path.GetExtension(state.RequestedUrl);
if (string.IsNullOrEmpty(streamingRequest.Container))
{