mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-04 01:53:51 +01:00
Add null check for audio stream
This commit is contained in:
parent
a2b51d551f
commit
904efeaddc
1 changed files with 1 additions and 1 deletions
|
|
@ -1236,7 +1236,7 @@ namespace MediaBrowser.Model.Dlna
|
|||
return (false, TranscodeReason.ContainerBitrateExceedsLimit);
|
||||
}
|
||||
|
||||
if (audioStream.IsExternal)
|
||||
if (audioStream?.IsExternal == true)
|
||||
{
|
||||
return (false, TranscodeReason.AudioIsExternal);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue