diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-25 22:17:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-25 22:17:23 +0100 |
| commit | 1d68fe1e3ad1a9aa85fa7fc6071a0b8c64973953 (patch) | |
| tree | cbad95204bf34c95ef2e6c6f5963eff00b81f140 /src/lib/video_content_scale.cc | |
| parent | e386b94425586760374d8e1cb16be99af09cf07f (diff) | |
Purge rint() and use llrint and friends.
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; |
