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
a7b8ff94
Commit
a7b8ff94
authored
Jun 21, 2012
by
Anton Khirnov
Browse files
mov: make a length variable larger.
Right now, it's uint16_t, but for itunes metadata a 32bit number is stored in it.
parent
f57d2f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
libavformat/mov.c
View file @
a7b8ff94
...
...
@@ -172,8 +172,8 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
#endif
char
str
[
1024
],
key2
[
16
],
language
[
4
]
=
{
0
};
const
char
*
key
=
NULL
;
uint16_t
str_size
,
langcode
=
0
;
uint32_t
data_type
=
0
;
uint16_t
langcode
=
0
;
uint32_t
data_type
=
0
,
str_size
;
int
(
*
parse
)(
MOVContext
*
,
AVIOContext
*
,
unsigned
,
const
char
*
)
=
NULL
;
switch
(
atom
.
type
)
{
...
...
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