Fix formatting (2)

This commit is contained in:
Petr Janda 2019-12-05 19:20:47 +10:30
parent 3d8f3da5d6
commit 70530e1f14
2 changed files with 48 additions and 46 deletions

View File

@ -1558,7 +1558,9 @@ namespace MediaBrowser.Controller.MediaEncoding
{ {
outputSizeParam = "," + outputSizeParam.Substring(index); outputSizeParam = "," + outputSizeParam.Substring(index);
} }
} else { }
else
{
var index = outputSizeParam.IndexOf("scale", StringComparison.OrdinalIgnoreCase); var index = outputSizeParam.IndexOf("scale", StringComparison.OrdinalIgnoreCase);
if (index != -1) if (index != -1)
{ {