Add null check for audio stream

pull/7118/head
Cody Robibero 3 years ago
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…
Cancel
Save