The Free Software Media System - Server Backend & API
Fix potential problem where aspect ratio would be incorrectly calculated
hawkenbddfca621529
diff --git a/MediaBrowser.Controller/Entities/Photo.cs b/MediaBrowser.Controller/Entities/Photo.csindex 662aa42495..074a1f4f76 100644--- a/MediaBrowser.Controller/Entities/Photo.cs+++ b/MediaBrowser.Controller/Entities/Photo.cs@@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities}}- width /= Height.Value;- return width;+ return width / height;}return base.GetDefaultPrimaryImageAspectRatio();