summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-29 17:51:12 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-12-02 15:28:22 +0000
commit5639ed9abb58311f82cf3499b682d228290adb09 (patch)
treedcd1d04c9dfc8e16776b36266efa0c5c0aa1fba7 /libavformat/mov.c
parent604c9b1196c70d79bbbc1f23e75f6a8253a74da3 (diff)
mov: do not truncate the language-prefixed tag
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 39e6883d20..0f5505210c 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -256,7 +256,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
#ifdef MOV_EXPORT_ALL_METADATA
char tmp_key[5];
#endif
- char str[1024], key2[16], language[4] = {0};
+ char str[1024], key2[32], language[4] = {0};
const char *key = NULL;
uint16_t langcode = 0;
uint32_t data_type = 0, str_size;