Add null check for audio stream

This commit is contained in:
Cody Robibero 2022-01-04 22:02:36 -07:00
parent a2b51d551f
commit 904efeaddc

View File

@ -1236,7 +1236,7 @@ namespace MediaBrowser.Model.Dlna
return (false, TranscodeReason.ContainerBitrateExceedsLimit); return (false, TranscodeReason.ContainerBitrateExceedsLimit);
} }
if (audioStream.IsExternal) if (audioStream?.IsExternal == true)
{ {
return (false, TranscodeReason.AudioIsExternal); return (false, TranscodeReason.AudioIsExternal);
} }