Fix null reference

This commit is contained in:
crobibero 2020-10-29 13:55:57 -06:00
parent 9bf2f4d8e0
commit 429e59fb81

View file

@ -3084,7 +3084,7 @@ namespace MediaBrowser.Controller.MediaEncoding
} }
} }
var whichCodec = videoStream.Codec.ToLowerInvariant(); var whichCodec = videoStream.Codec?.ToLowerInvariant();
switch (whichCodec) switch (whichCodec)
{ {
case "avc": case "avc":