aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/Playlists
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-03-01 00:44:57 +0100
committerBond_009 <bond.009@outlook.com>2023-03-01 00:44:57 +0100
commit4b01aaa0f7c52557d1500daaae2bc457a56dbffe (patch)
treececc037dcc70dede2f82dd886a34913e3048687b /MediaBrowser.Providers/Playlists
parent54cd3e6d551d797bace33d65334cf1e98669676d (diff)
Allocate less Lists
Diffstat (limited to 'MediaBrowser.Providers/Playlists')
-rw-r--r--MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs b/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs
index db4c5f436..9bd36f25c 100644
--- a/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs
+++ b/MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs
@@ -87,7 +87,7 @@ namespace MediaBrowser.Providers.Playlists
return GetPlsItems(stream);
}
- return new List<LinkedChild>();
+ return Enumerable.Empty<LinkedChild>();
}
private IEnumerable<LinkedChild> GetPlsItems(Stream stream)