# HG changeset patch # User bcoudurier # Date 1242446914 0 # Node ID 02e9151a011e5c271390385e9f155b67f97459f2 # Parent 45a08facad6f9f8167c0792cb753a0c16ab4e413 move increment after debug print diff -r 45a08facad6f -r 02e9151a011e mov.c --- a/mov.c Fri May 15 06:11:53 2009 +0000 +++ b/mov.c Sat May 16 04:08:34 2009 +0000 @@ -1440,10 +1440,10 @@ stts_index++; } } - current_offset += sc->bytes_per_frame; dprintf(mov->fc, "AVIndex stream %d, chunk %d, offset %"PRIx64", dts %"PRId64", " "size %d, duration %d\n", st->index, i, current_offset, current_dts, chunk_size, chunk_duration); + current_offset += sc->bytes_per_frame; assert(chunk_duration % sc->time_rate == 0); current_dts += chunk_duration / sc->time_rate; }