[FFmpeg-cvslog] mov: do not truncate the language-prefixed tag

Vittorio Giovara git at videolan.org
Tue Dec 2 21:54:44 CET 2014


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Sat Nov 29 17:51:12 2014 +0100| [5639ed9abb58311f82cf3499b682d228290adb09] | committer: Vittorio Giovara

mov: do not truncate the language-prefixed tag

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5639ed9abb58311f82cf3499b682d228290adb09
---

 libavformat/mov.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 39e6883..0f55052 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;



More information about the ffmpeg-cvslog mailing list