mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #872 from WillWill56/fix_sbnullref
Fix potential NullReferenceException
This commit is contained in:
commit
9d795adc3e
@ -18,6 +18,7 @@
|
|||||||
- [dkanada](https://github.com/dkanada)
|
- [dkanada](https://github.com/dkanada)
|
||||||
- [LogicalPhallacy](https://github.com/LogicalPhallacy/)
|
- [LogicalPhallacy](https://github.com/LogicalPhallacy/)
|
||||||
- [RazeLighter777](https://github.com/RazeLighter777)
|
- [RazeLighter777](https://github.com/RazeLighter777)
|
||||||
|
- [WillWill56](https://github.com/WillWill56)
|
||||||
|
|
||||||
# Emby Contributors
|
# Emby Contributors
|
||||||
|
|
||||||
|
@ -297,7 +297,7 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
int? inputAudioChannels = audioStream?.Channels;
|
int? inputAudioChannels = audioStream?.Channels;
|
||||||
int? inputAudioBitrate = audioStream?.BitDepth;
|
int? inputAudioBitrate = audioStream?.BitDepth;
|
||||||
int? inputAudioSampleRate = audioStream?.SampleRate;
|
int? inputAudioSampleRate = audioStream?.SampleRate;
|
||||||
int? inputAudioBitDepth = audioStream.BitDepth;
|
int? inputAudioBitDepth = audioStream?.BitDepth;
|
||||||
|
|
||||||
if (directPlayMethods.Count() > 0)
|
if (directPlayMethods.Count() > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user