From 5639ed9abb58311f82cf3499b682d228290adb09 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Sat, 29 Nov 2014 17:51:12 +0100 Subject: [PATCH] mov: do not truncate the language-prefixed tag --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;