Browse Source

fixes #2572 - Issues found by PVS-Studio

Luke Pulverenti 8 years ago
parent
commit
118c702c5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs

+ 1 - 1
MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs

@@ -349,7 +349,7 @@ namespace MediaBrowser.Model.Dlna
                 {
                     return MediaFormatProfile.LPCM16_48_MONO;
                 }
-                if (frequency.Value == 48000 && channels.Value == 1)
+                if (frequency.Value == 48000 && channels.Value == 2)
                 {
                     return MediaFormatProfile.LPCM16_48_STEREO;
                 }