fixes #2572 - Issues found by PVS-Studio
This commit is contained in:
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…
Reference in New Issue
Block a user