summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-16 04:08:34 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-16 04:08:34 +0000
commit2d5fabc87a0cbd2ea8631855bc26b26fc376e983 (patch)
tree0977d2fa9613247fa5a950a711e5e937fd7221bf /libavformat/mov.c
parentd8ed5bae6f424d63c0f9602bff0547d1f93ecc51 (diff)
move increment after debug print
Originally committed as revision 18851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
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;
}