mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Remove redundant 'else' keywords
This commit is contained in:
@@ -217,12 +217,14 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
return false;
|
||||
}
|
||||
else if (version < MinVersion) // Version is below what we recommend
|
||||
|
||||
if (version < MinVersion) // Version is below what we recommend
|
||||
{
|
||||
_logger.LogWarning("FFmpeg validation: The minimum recommended version is {MinVersion}", MinVersion);
|
||||
return false;
|
||||
}
|
||||
else if (MaxVersion is not null && version > MaxVersion) // Version is above what we recommend
|
||||
|
||||
if (MaxVersion is not null && version > MaxVersion) // Version is above what we recommend
|
||||
{
|
||||
_logger.LogWarning("FFmpeg validation: The maximum recommended version is {MaxVersion}", MaxVersion);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user