projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57d2f5
)
mov: make a length variable larger.
author
Anton Khirnov
<anton@khirnov.net>
Thu, 21 Jun 2012 16:13:34 +0000
(18:13 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 24 Jun 2012 05:54:29 +0000
(07:54 +0200)
Right now, it's uint16_t, but for itunes metadata a 32bit number is
stored in it.
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
63c79cd
..
fa70eff
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-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) {