summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-09 22:09:59 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-09 22:09:59 +0000
commit287d8bb5eb247e8746718a919091fff09b0b624d (patch)
tree7deff4b198f46f92b924ee8de98db6b9116eaf3b
parent319df7d7420a32d7bb8584caf91c39ba8aa3e776 (diff)
Fix harmless extravagent extra multiplies.
-rw-r--r--src/dcp_time.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc
index 1f3ff06d..47c15a2f 100644
--- a/src/dcp_time.cc
+++ b/src/dcp_time.cc
@@ -225,8 +225,8 @@ libdcp::operator- (Time a, Time b)
float
libdcp::operator/ (Time a, Time const & b)
{
- float const as = a.h * 3600 * 250 + a.m * 60 * 250 + a.s * float (a.e) / a.tcr;
- float const bs = b.h * 3600 * 250 + b.m * 60 * 250 + b.s * float (b.e) / b.tcr;
+ float const as = a.h * 3600 + a.m * 60 + a.s * float (a.e) / a.tcr;
+ float const bs = b.h * 3600 + b.m * 60 + b.s * float (b.e) / b.tcr;
return as / bs;
}