mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
Remove redundant 'else' keywords
This commit is contained in:
parent
b6cfdb8b92
commit
910617bbc3
24 changed files with 188 additions and 193 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue