summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/audio_decoder_test.cc2
-rw-r--r--test/frame_rate_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc
index 8af5dfb11..00d555d86 100644
--- a/test/audio_decoder_test.cc
+++ b/test/audio_decoder_test.cc
@@ -51,7 +51,7 @@ public:
}
Frame audio_length () const {
- return rint (61.2942 * audio_stream()->frame_rate ());
+ return llrint (61.2942 * audio_stream()->frame_rate ());
}
};
diff --git a/test/frame_rate_test.cc b/test/frame_rate_test.cc
index b9fd51391..a318ada11 100644
--- a/test/frame_rate_test.cc
+++ b/test/frame_rate_test.cc
@@ -301,5 +301,5 @@ BOOST_AUTO_TEST_CASE (audio_sampling_rate_test)
/* The FrameRateChange within resampled_audio_frame_rate should choose to double-up
the 14.99 fps video to 30 and then run it slow at 25.
*/
- BOOST_CHECK_EQUAL (content->resampled_audio_frame_rate(), rint (48000 * 2 * 14.99 / 25));
+ BOOST_CHECK_EQUAL (content->resampled_audio_frame_rate(), lrint (48000 * 2 * 14.99 / 25));
}