Explorar o código

Apply suggestions from code review

Co-authored-by: Cody Robibero <cody@robibe.ro>
Nyanmisaka %!s(int64=2) %!d(string=hai) anos
pai
achega
3b12dc6d7a
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  1. 5 3
      Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs

+ 5 - 3
Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs

@@ -227,11 +227,13 @@ public static class HlsCodecStringHelpers
             bitDepth = 8;
         }
 
-        result.Append("." + level)
-            .Append(tierFlag ? "H" : "M");
+        result.Append('.')
+            .Append(level)
+            .Append(tierFlag ? 'H' : 'M');
 
         string bitDepthD2 = bitDepth.ToString("D2", CultureInfo.InvariantCulture);
-        result.Append("." + bitDepthD2);
+        result.Append('.')
+            .Append(bitDepthD2);
 
         return result.ToString();
     }