Browse Source

10l, edit unit offset is after klv fill

Originally committed as revision 17122 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 16 years ago
parent
commit
a784cc679f
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavformat/mxfenc.c

+ 1
- 2
libavformat/mxfenc.c View File

@@ -1330,9 +1330,8 @@ static int mxf_write_packet(AVFormatContext *s, AVPacket *pkt)
} }


if (st->index == 0) { if (st->index == 0) {
mxf->index_entries[mxf->edit_units_count].offset = url_ftell(pb);

mxf_write_klv_fill(s); mxf_write_klv_fill(s);
mxf->index_entries[mxf->edit_units_count].offset = url_ftell(pb);
mxf_write_system_item(s); mxf_write_system_item(s);


mxf->edit_units_count++; mxf->edit_units_count++;


Loading…
Cancel
Save