Use pattern matching for null checks (#13793)

Fix the few that slipped through
This commit is contained in:
Bond-009 2025-04-01 01:38:25 +02:00 committed by GitHub
parent 3fc3b04daf
commit e9729a536f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 12 additions and 12 deletions

View file

@ -1753,7 +1753,7 @@ public class DynamicHlsController : BaseJellyfinApiController
if (channels.HasValue
&& (channels.Value != 2
|| (state.AudioStream?.Channels != null && !useDownMixAlgorithm)))
|| (state.AudioStream?.Channels is not null && !useDownMixAlgorithm)))
{
args += " -ac " + channels.Value;
}