mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
Fix null reference
This commit is contained in:
parent
9bf2f4d8e0
commit
429e59fb81
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue