From 3a7baf39d3211c0bda3de1ab2b657e024a35b8af Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 30 Nov 2006 02:38:56 +0000 Subject: [PATCH] Corrected formula in menu_duration_seconds. It looks like any sufficiently large return value will actually work, but let's try the right one! --- generate_dvd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_dvd.cpp b/generate_dvd.cpp index eb8fc04..5d357e6 100644 --- a/generate_dvd.cpp +++ b/generate_dvd.cpp @@ -88,8 +88,8 @@ namespace double menu_duration_seconds(const video::frame_params & params) { return double(menu_duration_frames(params)) - * double(params.rate_numer) - / double(params.rate_denom); + / double(params.rate_numer) + * double(params.rate_denom); } void throw_length_error(const char * limit_type, std::size_t limit) -- 2.39.5