mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Replace == null with is null
This commit is contained in:
@@ -531,7 +531,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
throw;
|
||||
}
|
||||
|
||||
if (result == null || (result.Streams == null && result.Format == null))
|
||||
if (result is null || (result.Streams is null && result.Format is null))
|
||||
{
|
||||
throw new FfmpegException("ffprobe failed - streams and format are both null.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user