[xiph-commits] r3831 - in liboggz/trunk/src: liboggz tools
oggk at svn.annodex.net
oggk at svn.annodex.net
Tue Dec 16 13:29:25 PST 2008
Author: oggk
Date: 2008-12-16 13:29:24 -0800 (Tue, 16 Dec 2008)
New Revision: 3831
Modified:
liboggz/trunk/src/liboggz/metric_internal.c
liboggz/trunk/src/tools/oggz_tools.c
Log:
s/int64_t/ogg_int64_t/
because all compilers less C99 equal than others.
Modified: liboggz/trunk/src/liboggz/metric_internal.c
===================================================================
--- liboggz/trunk/src/liboggz/metric_internal.c 2008-12-15 20:48:59 UTC (rev 3830)
+++ liboggz/trunk/src/liboggz/metric_internal.c 2008-12-16 21:29:24 UTC (rev 3831)
@@ -53,7 +53,7 @@
pframe = granulepos - (iframe << stream->granuleshift);
pt = (iframe + pframe) >> 9;
delay = pframe >> 9;
- dt = (int64_t)pt - delay;
+ dt = (ogg_int64_t)pt - delay;
units = dt * stream->granulerate_d / stream->granulerate_n;
Modified: liboggz/trunk/src/tools/oggz_tools.c
===================================================================
--- liboggz/trunk/src/tools/oggz_tools.c 2008-12-15 20:48:59 UTC (rev 3830)
+++ liboggz/trunk/src/tools/oggz_tools.c 2008-12-16 21:29:24 UTC (rev 3831)
@@ -450,7 +450,7 @@
dg->pt = (iframe + pframe) >> 9;
dg->dist = ((iframe & 0xff) << 8) | (pframe & 0xff);
dg->delay = pframe >> 9;
- dg->dt = (int64_t)dg->pt - dg->delay;
+ dg->dt = (ogg_int64_t)dg->pt - dg->delay;
}
int
More information about the commits
mailing list