1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

mov: do not truncate the language-prefixed tag

This commit is contained in:
Vittorio Giovara
2014-11-29 17:51:12 +01:00
parent 604c9b1196
commit 5639ed9abb

View File

@@ -256,7 +256,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
#ifdef MOV_EXPORT_ALL_METADATA #ifdef MOV_EXPORT_ALL_METADATA
char tmp_key[5]; char tmp_key[5];
#endif #endif
char str[1024], key2[16], language[4] = {0}; char str[1024], key2[32], language[4] = {0};
const char *key = NULL; const char *key = NULL;
uint16_t langcode = 0; uint16_t langcode = 0;
uint32_t data_type = 0, str_size; uint32_t data_type = 0, str_size;