mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 11:44:48 +03:00
Fix null reference
This commit is contained in:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user