|
|
|
@ -133,8 +133,6 @@ static const uint8_t footer_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x |
|
|
|
|
static const uint8_t primer_pack_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x05,0x01,0x00 }; |
|
|
|
|
static const uint8_t index_table_segment_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x02,0x01,0x01,0x10,0x01,0x00 }; |
|
|
|
|
static const uint8_t random_index_pack_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x11,0x01,0x00 }; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const uint8_t header_open_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x02,0x01,0x00 }; // OpenIncomplete
|
|
|
|
|
static const uint8_t header_closed_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x05,0x01,0x01,0x0D,0x01,0x02,0x01,0x01,0x02,0x04,0x00 }; // ClosedComplete
|
|
|
|
|
|
|
|
|
@ -142,7 +140,6 @@ static const uint8_t header_closed_partition_key[] = { 0x06,0x0E,0x2B,0x34,0x02, |
|
|
|
|
* partial key for header metadata |
|
|
|
|
*/ |
|
|
|
|
static const uint8_t header_metadata_key[] = { 0x06,0x0E,0x2B,0x34,0x02,0x53,0x01,0x01,0x0D,0x01,0x01,0x01,0x01 }; |
|
|
|
|
|
|
|
|
|
static const uint8_t multiple_desc_ul[] = { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x03,0x0D,0x01,0x03,0x01,0x02,0x7F,0x01,0x00 }; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -261,7 +258,7 @@ static int klv_encode_ber_length(ByteIOContext *pb, uint64_t len) |
|
|
|
|
// long form
|
|
|
|
|
put_byte(pb, 0x80 + size); |
|
|
|
|
while(size) { |
|
|
|
|
size --; |
|
|
|
|
size--; |
|
|
|
|
put_byte(pb, len >> 8 * size & 0xff); |
|
|
|
|
} |
|
|
|
|
return 0; |
|
|
|
@ -1403,5 +1400,4 @@ AVOutputFormat mxf_muxer = { |
|
|
|
|
AVFMT_NOTIMESTAMPS, |
|
|
|
|
NULL, |
|
|
|
|
mxf_interleave, |
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|