/*
- * Copyright (C) 2008-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2008-2011 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
from = tv2ms(&tv);
tv_scale(i, &afhi->chunk_tv, &tv);
to = tv2ms(&tv);
- printf("%d [%lu.%03lu - %lu.%03lu] %u - %u (%u)\n", i,
+ printf("%d [%lu.%03lu - %lu.%03lu] %u - %u (%u)\n", i - 1,
from / 1000, from % 1000, to / 1000, to % 1000,
afhi->chunk_table[i - 1], afhi->chunk_table[i],
afhi->chunk_table[i] - afhi->chunk_table[i - 1]);