diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-23 07:52:10 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-23 07:52:10 +0000 |
| commit | f0e9267d0839c1eb3e716f6e73a5f1b37d0bad12 (patch) | |
| tree | 61bc021311f068db576133e2c8da13c1d427e2b1 | |
| parent | bfb7e79c958036e77a7ffe33310d8c0957848602 (diff) | |
Try to fix Windows build.
| -rw-r--r-- | src/lib/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 96c963e70..c09bcd9fe 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -517,8 +517,8 @@ Player::get_reel_assets () int64_t const reel_duration = k->main_picture()->duration(); /* See doc/design/trim_reels.svg */ - Frame const reel_trim_start = min(reel_duration, max(0L, trim_start - offset_from_start)); - Frame const reel_trim_end = min(reel_duration, max(0L, reel_duration - (offset_from_end - trim_end))); + Frame const reel_trim_start = min(reel_duration, max(0LL, trim_start - offset_from_start)); + Frame const reel_trim_end = min(reel_duration, max(0LL, reel_duration - (offset_from_end - trim_end))); DCPTime const from = i->position() + DCPTime::from_frames (offset_from_start, _film->video_frame_rate()); if (j->reference_video ()) { |
