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
0e3ea3a2
Commit
0e3ea3a2
authored
Jun 03, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove now useless sync key
Originally committed as revision 9188 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6dc55543
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
mxf.c
libavformat/mxf.c
+0
-4
No files found.
libavformat/mxf.c
View file @
0e3ea3a2
...
...
@@ -144,7 +144,6 @@ typedef struct MXFContext {
int
packages_count
;
MXFMetadataSet
**
metadata_sets
;
int
metadata_sets_count
;
const
uint8_t
*
sync_key
;
AVFormatContext
*
fc
;
struct
AVAES
*
aesc
;
}
MXFContext
;
...
...
@@ -332,7 +331,6 @@ err_out:
static
int
mxf_read_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
)
{
MXFContext
*
mxf
=
s
->
priv_data
;
KLVPacket
klv
;
while
(
!
url_feof
(
&
s
->
pb
))
{
...
...
@@ -343,7 +341,6 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt)
#endif
if
(
IS_KLV_KEY
(
klv
.
key
,
mxf_encrypted_triplet_key
))
{
int
res
=
mxf_decrypt_triplet
(
s
,
pkt
,
&
klv
);
mxf
->
sync_key
=
mxf_encrypted_triplet_key
;
if
(
res
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"invalid encoded triplet
\n
"
);
return
-
1
;
...
...
@@ -932,7 +929,6 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
MXFContext
*
mxf
=
s
->
priv_data
;
KLVPacket
klv
;
mxf
->
sync_key
=
mxf_essence_element_key
;
if
(
!
mxf_read_sync
(
&
s
->
pb
,
mxf_header_partition_pack_key
,
14
))
{
av_log
(
s
,
AV_LOG_ERROR
,
"could not find header partition pack key
\n
"
);
return
-
1
;
...
...
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