[NUT-devel] [nut]: r663 - docs/nut.txt
michael
subversion at mplayerhq.hu
Fri Sep 18 01:56:57 CEST 2009
Author: michael
Date: Fri Sep 18 01:56:56 2009
New Revision: 663
Log:
Fix 10l typo in timestamp convertion code.
Modified:
docs/nut.txt
Modified: docs/nut.txt
==============================================================================
--- docs/nut.txt Wed Apr 15 22:20:55 2009 (r662)
+++ docs/nut.txt Fri Sep 18 01:56:56 2009 (r663)
@@ -555,8 +555,8 @@ convert_ts
To switch from 2 different timebases, the following calculation is
defined:
- ln = from_time_base_num*to_time_base_denom
- sn = from_timestamp
+ ln = from_time_base_num*from_timestamp
+ sn = to_time_base_denom
d1 = from_time_base_denom
d2 = to_time_base_num
timestamp = (ln/d1*sn + ln%d1*sn/d1)/d2
More information about the NUT-devel
mailing list