Revision 6c53bf63

View differences:

libavformat/mxfenc.c
1722 1722
    put_buffer(pb, random_index_pack_key, 16);
1723 1723
    klv_encode_ber_length(pb, 28 + 12*mxf->body_partitions_count);
1724 1724

  
1725
    put_be32(pb, 0); // BodySID of header partition
1725
    if (mxf->edit_unit_byte_count)
1726
        put_be32(pb, 1); // BodySID of header partition
1727
    else
1728
        put_be32(pb, 0); // BodySID of header partition
1726 1729
    put_be64(pb, 0); // offset of header partition
1727 1730

  
1728 1731
    for (i = 0; i < mxf->body_partitions_count; i++) {

Also available in: Unified diff