mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-03 12:52:56 +01:00
Fix potential problem where aspect ratio would be incorrectly calculated
This commit is contained in:
@@ -79,8 +79,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
width /= Height.Value;
|
return width / height;
|
||||||
return width;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return base.GetDefaultPrimaryImageAspectRatio();
|
return base.GetDefaultPrimaryImageAspectRatio();
|
||||||
|
|||||||
Reference in New Issue
Block a user