Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3a9c08be
Commit
3a9c08be
authored
Jan 19, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused crypto context uid
Originally committed as revision 11564 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7ee7f6f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
mxf.c
libavformat/mxf.c
+1
-5
No files found.
libavformat/mxf.c
View file @
3a9c08be
...
...
@@ -67,7 +67,6 @@ enum MXFMetadataSetType {
typedef
struct
{
UID
uid
;
enum
MXFMetadataSetType
type
;
UID
context_uid
;
UID
source_container_ul
;
}
MXFCryptoContext
;
...
...
@@ -179,7 +178,6 @@ static const uint8_t mxf_header_partition_pack_key[] = { 0x06,0x0e,0x2b,0x
static
const
uint8_t
mxf_essence_element_key
[]
=
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x01
,
0x02
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x03
,
0x01
};
static
const
uint8_t
mxf_klv_key
[]
=
{
0x06
,
0x0e
,
0x2b
,
0x34
};
/* complete keys to match */
static
const
uint8_t
mxf_crypto_context_uid
[]
=
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x01
,
0x01
,
0x01
,
0x09
,
0x01
,
0x01
,
0x15
,
0x11
,
0x00
,
0x00
,
0x00
,
0x00
};
static
const
uint8_t
mxf_crypto_source_container_ul
[]
=
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x01
,
0x01
,
0x01
,
0x09
,
0x06
,
0x01
,
0x01
,
0x02
,
0x02
,
0x00
,
0x00
,
0x00
};
static
const
uint8_t
mxf_encrypted_triplet_key
[]
=
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x04
,
0x01
,
0x07
,
0x0d
,
0x01
,
0x03
,
0x01
,
0x02
,
0x7e
,
0x01
,
0x00
};
static
const
uint8_t
mxf_encrypted_essence_container
[]
=
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x04
,
0x01
,
0x01
,
0x07
,
0x0d
,
0x01
,
0x03
,
0x01
,
0x02
,
0x0b
,
0x01
,
0x00
};
...
...
@@ -405,9 +403,7 @@ static int mxf_read_metadata_cryptographic_context(MXFCryptoContext *cryptoconte
{
if
(
size
!=
16
)
return
-
1
;
if
(
IS_KLV_KEY
(
uid
,
mxf_crypto_context_uid
))
get_buffer
(
pb
,
cryptocontext
->
context_uid
,
16
);
else
if
(
IS_KLV_KEY
(
uid
,
mxf_crypto_source_container_ul
))
if
(
IS_KLV_KEY
(
uid
,
mxf_crypto_source_container_ul
))
get_buffer
(
pb
,
cryptocontext
->
source_container_ul
,
16
);
return
0
;
}
...
...
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