diff options
| author | JPVenson <JPVenson@users.noreply.github.com> | 2023-04-10 22:38:07 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-10 21:38:07 +0200 |
| commit | 3c22d5c9705921672a932192d016933ef5900001 (patch) | |
| tree | 62b6c6c508fb73ea2e29fb3f381c79a080bf2496 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 15c8854502a4a9006754921d2bcef016e87b1104 (diff) | |
#7626 Added handling for common FormatExceptions with Skia loading sv… (#9581)
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 8883aff0b..75a1a5a4d 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -1885,7 +1885,7 @@ namespace Emby.Server.Implementations.Library catch (Exception ex) { _logger.LogError(ex, "Cannot get image dimensions for {ImagePath}", image.Path); - size = new ImageDimensions(0, 0); + size = default; image.Width = 0; image.Height = 0; } |
