[NUT-devel] [nut]: r282 - trunk/libnut/priv.h
ods15
subversion at mplayerhq.hu
Sat Mar 10 19:28:53 CET 2007
Author: ods15
Date: Sat Mar 10 19:28:53 2007
New Revision: 282
Modified:
trunk/libnut/priv.h
Log:
10000l typo from old commit, mixed up order of params
Modified: trunk/libnut/priv.h
==============================================================================
--- trunk/libnut/priv.h (original)
+++ trunk/libnut/priv.h Sat Mar 10 19:28:53 2007
@@ -231,7 +231,7 @@ static inline int gcd(int a, int b) {
#define TO_DOUBLE(t, pts) ((double)(pts) / nut->tb[t].den * nut->tb[t].num)
-#define TO_DOUBLE_PTS(pts) TO_DOUBLE((pts) / nut->timebase_count, (pts) % nut->timebase_count)
+#define TO_DOUBLE_PTS(pts) TO_DOUBLE((pts) % nut->timebase_count, (pts) / nut->timebase_count)
#define TO_TB(i) nut->tb[nut->sc[i].timebase_id]
More information about the NUT-devel
mailing list