fixes #2572 - Issues found by PVS-Studio

pull/1154/head
Luke Pulverenti 8 years ago
parent 08c88f5c32
commit 118c702c5c

@ -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;
} }

Loading…
Cancel
Save