From 2d5fabc87a0cbd2ea8631855bc26b26fc376e983 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sat, 16 May 2009 04:08:34 +0000 Subject: [PATCH] move increment after debug print Originally committed as revision 18851 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index cf12409055..ef097a85ca 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1440,10 +1440,10 @@ static void mov_build_index(MOVContext *mov, AVStream *st) 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; }