mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
bf31d93ad2
commit
a784cc679f
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue