diff options
Diffstat (limited to 'src/lib/video_content_scale.cc')
| -rw-r--r-- | src/lib/video_content_scale.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_content_scale.cc b/src/lib/video_content_scale.cc index c8c295361..aae135311 100644 --- a/src/lib/video_content_scale.cc +++ b/src/lib/video_content_scale.cc @@ -155,8 +155,8 @@ VideoContentScale::size (shared_ptr<const VideoContent> c, dcp::Size display_con float (display_container.height) / film_container.height ); - size.width = rint (size.width * scale); - size.height = rint (size.height * scale); + size.width = lrintf (size.width * scale); + size.height = lrintf (size.height * scale); } return size; |
