From 904efeaddcfe55e461ba5848af4adb61bc52393d Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Tue, 4 Jan 2022 22:02:36 -0700 Subject: [PATCH] Add null check for audio stream --- MediaBrowser.Model/Dlna/StreamBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Model/Dlna/StreamBuilder.cs b/MediaBrowser.Model/Dlna/StreamBuilder.cs index 84a6f6abe..d2ca21150 100644 --- a/MediaBrowser.Model/Dlna/StreamBuilder.cs +++ b/MediaBrowser.Model/Dlna/StreamBuilder.cs @@ -1236,7 +1236,7 @@ namespace MediaBrowser.Model.Dlna return (false, TranscodeReason.ContainerBitrateExceedsLimit); } - if (audioStream.IsExternal) + if (audioStream?.IsExternal == true) { return (false, TranscodeReason.AudioIsExternal); }