changeset 4436:98928aca0df9 libavformat

10l, edit unit offset is after klv fill
author bcoudurier
date Tue, 10 Feb 2009 07:28:53 +0000
parents 4f96c60c9561
children 9cb07916bf47
files mxfenc.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mxfenc.c	Tue Feb 10 07:23:51 2009 +0000
+++ b/mxfenc.c	Tue Feb 10 07:28:53 2009 +0000
@@ -1330,9 +1330,8 @@
     }
 
     if (st->index == 0) {
+        mxf_write_klv_fill(s);
         mxf->index_entries[mxf->edit_units_count].offset = url_ftell(pb);
-
-        mxf_write_klv_fill(s);
         mxf_write_system_item(s);
 
         mxf->edit_units_count++;