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
3f2d859b
Commit
3f2d859b
authored
Jan 19, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics
Originally committed as revision 11565 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3a9c08be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mxf.c
libavformat/mxf.c
+3
-3
No files found.
libavformat/mxf.c
View file @
3f2d859b
...
...
@@ -917,14 +917,14 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child
{
ByteIOContext
*
pb
=
mxf
->
fc
->
pb
;
MXFMetadataSet
*
ctx
=
ctx_size
?
av_mallocz
(
ctx_size
)
:
mxf
;
uint64_t
klv_end
=
url_ftell
(
pb
)
+
klv
->
length
;
uint64_t
klv_end
=
url_ftell
(
pb
)
+
klv
->
length
;
if
(
!
ctx
)
return
-
1
;
while
(
url_ftell
(
pb
)
+
4
<
klv_end
)
{
int
tag
=
get_be16
(
pb
);
int
size
=
get_be16
(
pb
);
/* KLV specified by 0x53 */
uint64_t
next
=
url_ftell
(
pb
)
+
size
;
uint64_t
next
=
url_ftell
(
pb
)
+
size
;
UID
uid
;
if
(
!
size
)
{
/* ignore empty tag, needed for some files with empty UMID tag */
...
...
@@ -944,7 +944,7 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child
}
}
}
if
(
ctx_size
&&
tag
==
0x3C0A
)
if
(
ctx_size
&&
tag
==
0x3C0A
)
get_buffer
(
pb
,
ctx
->
uid
,
16
);
else
read_child
(
ctx
,
pb
,
tag
,
size
,
uid
);
...
...
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