Add null check for audio stream
This commit is contained in:
parent
a2b51d551f
commit
904efeaddc
|
@ -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 New Issue
Block a user