Commit 692e27d6 authored by conrad's avatar conrad

formatting


git-svn-id: http://svn.annodex.net/liboggz/trunk@819 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 096051e1
......@@ -65,7 +65,13 @@ try_seek_units (OGGZ * oggz, ogg_int64_t units)
if (verbose)
printf ("\tAttempt seek to %lld ms:\n", units);
result = oggz_seek_units (oggz, units, SEEK_SET);
diff = result - units;
if (verbose)
printf ("\t%08lx: %lld ms (+%lld ms)\n",
oggz_tell (oggz), oggz_tell_units (oggz), diff);
if (result < 0) {
FAIL ("Seek failure\n");
......@@ -77,15 +83,9 @@ try_seek_units (OGGZ * oggz, ogg_int64_t units)
if (units == 0 && result != 0)
FAIL ("Failed seeking to 0");
diff = result - units;
if (diff < 0)
FAIL ("Seek result too early");
if (verbose)
printf ("\t%08lx: %lld ms (+%lld ms)\n",
oggz_tell (oggz), oggz_tell_units (oggz), diff);
return units;
}
......
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