10l, edit unit offset is after klv fill

Originally committed as revision 17122 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-02-10 07:28:53 +00:00
parent bf31d93ad2
commit a784cc679f
1 changed files with 1 additions and 2 deletions

View File

@ -1330,9 +1330,8 @@ static int mxf_write_packet(AVFormatContext *s, AVPacket *pkt)
}
if (st->index == 0) {
mxf->index_entries[mxf->edit_units_count].offset = url_ftell(pb);
mxf_write_klv_fill(s);
mxf->index_entries[mxf->edit_units_count].offset = url_ftell(pb);
mxf_write_system_item(s);
mxf->edit_units_count++;