Merge pull request #5842 from BaronGreenback/optimization

Code Clean up: Group Methods
This commit is contained in:
Bond-009
2021-04-29 21:14:57 +02:00
committed by GitHub
7 changed files with 8 additions and 8 deletions

View File

@@ -297,7 +297,7 @@ namespace MediaBrowser.Model.Dlna
int? inputAudioSampleRate = audioStream?.SampleRate;
int? inputAudioBitDepth = audioStream?.BitDepth;
if (directPlayMethods.Count() > 0)
if (directPlayMethods.Any())
{
string audioCodec = audioStream?.Codec;