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/writer.cc | |
| parent | e386b94425586760374d8e1cb16be99af09cf07f (diff) | |
Purge rint() and use llrint and friends.
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index 053c18451..b7c85c2ae 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -770,7 +770,7 @@ operator== (QueueItem const & a, QueueItem const & b) void Writer::set_encoder_threads (int threads) { - _maximum_frames_in_memory = rint (threads * 1.1); + _maximum_frames_in_memory = lrint (threads * 1.1); } long |
