From a784cc679f57a8bf9974f6f20b00cf78bde02711 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Tue, 10 Feb 2009 07:28:53 +0000 Subject: [PATCH] 10l, edit unit offset is after klv fill Originally committed as revision 17122 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mxfenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 6b15a2bc8c..f12a72b17c 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -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++;