Commit 4741665b authored by conrad's avatar conrad

oggz-validate: fix displayed timestamps

git-svn-id: 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 453e2c6a
......@@ -174,7 +174,7 @@ gp_to_time (OGGZ * oggz, long serialno, ogg_int64_t granulepos)
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
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