move increment after debug print

Originally committed as revision 18851 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Baptiste Coudurier 16 years ago
parent d8ed5bae6f
commit 2d5fabc87a
  1. 2
      libavformat/mov.c

@ -1440,10 +1440,10 @@ static void mov_build_index(MOVContext *mov, AVStream *st)
stts_index++; stts_index++;
} }
} }
current_offset += sc->bytes_per_frame;
dprintf(mov->fc, "AVIndex stream %d, chunk %d, offset %"PRIx64", dts %"PRId64", " dprintf(mov->fc, "AVIndex stream %d, chunk %d, offset %"PRIx64", dts %"PRId64", "
"size %d, duration %d\n", st->index, i, current_offset, current_dts, "size %d, duration %d\n", st->index, i, current_offset, current_dts,
chunk_size, chunk_duration); chunk_size, chunk_duration);
current_offset += sc->bytes_per_frame;
assert(chunk_duration % sc->time_rate == 0); assert(chunk_duration % sc->time_rate == 0);
current_dts += chunk_duration / sc->time_rate; current_dts += chunk_duration / sc->time_rate;
} }

Loading…
Cancel
Save