Fix potential problem where aspect ratio would be incorrectly calculated

This commit is contained in:
hawken 2019-01-08 22:48:08 +00:00
parent 99acf83dfa
commit bddfca6215

View file

@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities
} }
} }
width /= Height.Value; return width / height;
return width;
} }
return base.GetDefaultPrimaryImageAspectRatio(); return base.GetDefaultPrimaryImageAspectRatio();