mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
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