mirror of https://git.ffmpeg.org/ffmpeg.git
mov: make a length variable larger.
Right now, it's uint16_t, but for itunes metadata a 32bit number is stored in it.
This commit is contained in:
parent
f57d2f587b
commit
a7b8ff94b1
|
@ -172,8 +172,8 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||||
#endif
|
#endif
|
||||||
char str[1024], key2[16], language[4] = {0};
|
char str[1024], key2[16], language[4] = {0};
|
||||||
const char *key = NULL;
|
const char *key = NULL;
|
||||||
uint16_t str_size, langcode = 0;
|
uint16_t langcode = 0;
|
||||||
uint32_t data_type = 0;
|
uint32_t data_type = 0, str_size;
|
||||||
int (*parse)(MOVContext*, AVIOContext*, unsigned, const char*) = NULL;
|
int (*parse)(MOVContext*, AVIOContext*, unsigned, const char*) = NULL;
|
||||||
|
|
||||||
switch (atom.type) {
|
switch (atom.type) {
|
||||||
|
|
Loading…
Reference in New Issue