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
975c88e3
Commit
975c88e3
authored
Jan 15, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics, function -> metadata
Originally committed as revision 7526 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
96b10308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mxf.c
libavformat/mxf.c
+5
-5
No files found.
libavformat/mxf.c
View file @
975c88e3
...
...
@@ -814,7 +814,7 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
url_fseek
(
&
s
->
pb
,
-
14
,
SEEK_CUR
);
mxf
->
fc
=
s
;
while
(
!
url_feof
(
&
s
->
pb
))
{
const
MXFMetadataReadTableEntry
*
function
;
const
MXFMetadataReadTableEntry
*
metadata
;
if
(
klv_read_packet
(
&
klv
,
&
s
->
pb
)
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"error reading KLV packet
\n
"
);
...
...
@@ -829,16 +829,16 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
break
;
}
for
(
function
=
mxf_metadata_read_table
;
function
->
read
;
function
++
)
{
if
(
IS_KLV_KEY
(
klv
.
key
,
function
->
key
))
{
if
(
mxf_read_local_tags
(
mxf
,
&
klv
,
function
->
read
,
function
->
ctx_size
,
function
->
type
)
<
0
)
{
for
(
metadata
=
mxf_metadata_read_table
;
metadata
->
read
;
metadata
++
)
{
if
(
IS_KLV_KEY
(
klv
.
key
,
metadata
->
key
))
{
if
(
mxf_read_local_tags
(
mxf
,
&
klv
,
metadata
->
read
,
metadata
->
ctx_size
,
metadata
->
type
)
<
0
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"error reading header metadata
\n
"
);
return
-
1
;
}
break
;
}
}
if
(
!
function
->
read
)
if
(
!
metadata
->
read
)
url_fskip
(
&
s
->
pb
,
klv
.
length
);
}
return
mxf_parse_structural_metadata
(
mxf
);
...
...
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