Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
6685f639
Commit
6685f639
authored
Aug 31, 2008
by
Baptiste Coudurier
Browse files
header partition is open incomplete for now
Originally committed as revision 15102 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f07fe6e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
libavformat/mxfenc.c
View file @
6685f639
...
...
@@ -86,10 +86,13 @@ static const uint8_t umid_base[] = { 0x06,0x0A,0x2B,0x34,0x01,0x01,0x
* complete key for operation pattern, partitions, and primer pack
*/
static
const
uint8_t
op1a_ul
[]
=
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x04
,
0x01
,
0x01
,
0x01
,
0x0D
,
0x01
,
0x02
,
0x01
,
0x01
,
0x01
,
0x01
,
0x00
};
static
const
uint8_t
header_partition_key
[]
=
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x02
,
0x05
,
0x01
,
0x01
,
0x0D
,
0x01
,
0x02
,
0x01
,
0x01
,
0x02
,
0x04
,
0x00
};
// ClosedComplete
static
const
uint8_t
footer_partition_key
[]
=
{
0x06
,
0x0E
,
0x2B
,
0x34
,
0x02
,
0x05
,
0x01
,
0x01
,
0x0D
,
0x01
,
0x02
,
0x01
,
0x01
,
0x04
,
0x04
,
0x00
};
// ClosedComplete
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
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
/**
* partial key for header metadata
*/
...
...
@@ -804,7 +807,7 @@ static int mxf_write_header(AVFormatContext *s)
PRINT_KEY
(
s
,
"track essence element key"
,
sc
->
track_essence_element_key
);
}
mxf_write_partition
(
s
,
0
,
1
,
header_partition_key
);
mxf_write_partition
(
s
,
0
,
1
,
header_
open_
partition_key
);
// mark the start of the headermetadata and calculate metadata size
header_metadata_start
=
url_ftell
(
s
->
pb
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment