move increment after debug print

Originally committed as revision 18851 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-05-16 04:08:34 +00:00
parent d8ed5bae6f
commit 2d5fabc87a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}