[xiph-commits] r3767 - liboggz/trunk/src/tools

conrad at svn.annodex.net conrad at svn.annodex.net
Wed Nov 5 16:52:12 PST 2008


Author: conrad
Date: 2008-11-05 16:52:12 -0800 (Wed, 05 Nov 2008)
New Revision: 3767

Modified:
   liboggz/trunk/src/tools/oggz-validate.c
Log:
oggz-validate: fix displayed timestamps


Modified: liboggz/trunk/src/tools/oggz-validate.c
===================================================================
--- liboggz/trunk/src/tools/oggz-validate.c	2008-11-04 22:53:21 UTC (rev 3766)
+++ liboggz/trunk/src/tools/oggz-validate.c	2008-11-06 00:52:12 UTC (rev 3767)
@@ -174,7 +174,7 @@
 
   granule = gp_to_granule (oggz, serialno, granulepos);
 
-  return (timestamp_t)((double)(granule * gr_d) / (double)gr_n);
+  return (timestamp_t)((double)(SUBSECONDS * granule * gr_d) / (double)gr_n);
 }
 
 static void



More information about the commits mailing list