Commit c2542fa6 authored by oggk's avatar oggk

s/int64_t/ogg_int64_t/

because all compilers less C99 equal than others.



git-svn-id: http://svn.annodex.net/liboggz/trunk@3831 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent bd1e7086
......@@ -53,7 +53,7 @@ oggz_metric_dirac (OGGZ * oggz, long serialno,
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;
......
......@@ -450,7 +450,7 @@ ot_dirac_gpos_parse (ogg_int64_t iframe, ogg_int64_t pframe,
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment