Fix potential problem where aspect ratio would be incorrectly calculated
This commit is contained in:
parent
99acf83dfa
commit
bddfca6215
|
@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
}
|
||||
}
|
||||
|
||||
width /= Height.Value;
|
||||
return width;
|
||||
return width / height;
|
||||
}
|
||||
|
||||
return base.GetDefaultPrimaryImageAspectRatio();
|
||||
|
|
Loading…
Reference in New Issue
Block a user