mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 20:08:59 +02:00
Fix potential problem where aspect ratio would be incorrectly calculated
This commit is contained in:
parent
99acf83dfa
commit
bddfca6215
1 changed files with 1 additions and 2 deletions
|
@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
width /= Height.Value;
|
return width / height;
|
||||||
return width;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return base.GetDefaultPrimaryImageAspectRatio();
|
return base.GetDefaultPrimaryImageAspectRatio();
|
||||||
|
|
Loading…
Reference in a new issue