summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/mxfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index d2e25a8824..8bc1a2807c 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -1760,7 +1760,7 @@ static void mxf_write_index_table_segment(AVFormatContext *s)
// instance id
mxf_write_local_tag(s, 16, 0x3C0A);
- mxf_write_uuid(pb, IndexTableSegment, 0);
+ mxf_write_uuid(pb, IndexTableSegment, mxf->last_indexed_edit_unit);
// index edit rate
mxf_write_local_tag(s, 8, 0x3F0B);