aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/CodecProfile.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2021-12-20 13:31:07 +0100
committercvium <clausvium@gmail.com>2021-12-20 13:31:07 +0100
commitb880dc8a4a2d1820c6063f441edce42ab399d79e (patch)
tree498f8767f56ce7e5c43b083dd39955d51828a51d /MediaBrowser.Model/Dlna/CodecProfile.cs
parentcb41dda5b3473714950a6540c4dec18e0c31c6ed (diff)
Use our own Contains extension
Diffstat (limited to 'MediaBrowser.Model/Dlna/CodecProfile.cs')
-rw-r--r--MediaBrowser.Model/Dlna/CodecProfile.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Dlna/CodecProfile.cs b/MediaBrowser.Model/Dlna/CodecProfile.cs
index 8343cf028..f857bf3a8 100644
--- a/MediaBrowser.Model/Dlna/CodecProfile.cs
+++ b/MediaBrowser.Model/Dlna/CodecProfile.cs
@@ -2,8 +2,8 @@
#pragma warning disable CS1591
using System;
-using System.Linq;
using System.Xml.Serialization;
+using Jellyfin.Extensions;
namespace MediaBrowser.Model.Dlna
{
@@ -58,7 +58,7 @@ namespace MediaBrowser.Model.Dlna
foreach (var val in codec)
{
- if (codecs.Contains(val, StringComparer.OrdinalIgnoreCase))
+ if (codecs.Contains(val, StringComparison.OrdinalIgnoreCase))
{
return true;
}