diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-12-15 18:25:36 +0100 |
|---|---|---|
| committer | Cody Robibero (Rebase PR Action) <cody@robibe.ro> | 2021-12-27 14:20:05 +0000 |
| commit | ea8f40e84a72ab1eb0bdbe4974cb78f7d1b0f552 (patch) | |
| tree | ae88958599f260ea1d7e586c6a47931a5fe62f6b /Emby.Drawing/ImageProcessor.cs | |
| parent | 4441513ca4a64fdf61541e56cbb1091e7aa0395b (diff) | |
More cleanup
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
| -rw-r--r-- | Emby.Drawing/ImageProcessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs index 8ea711abe..c9847aa2d 100644 --- a/Emby.Drawing/ImageProcessor.cs +++ b/Emby.Drawing/ImageProcessor.cs @@ -242,7 +242,7 @@ namespace Emby.Drawing return ImageFormat.Jpg; } - private string? GetMimeType(ImageFormat format, string path) + private string GetMimeType(ImageFormat format, string path) => format switch { ImageFormat.Bmp => MimeTypes.GetMimeType("i.bmp"), |
