fixes #2572 - Issues found by PVS-Studio

This commit is contained in:
Luke Pulverenti 2017-04-11 13:04:13 -04:00
parent 08c88f5c32
commit 118c702c5c

View File

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