Mercurial > libavformat.hg
changeset 4996:9d88db925e05 libavformat
fix 3gp metadata, write strings in UTF8, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com
author | bcoudurier |
---|---|
date | Sun, 31 May 2009 05:24:16 +0000 |
parents | de114ffe75df |
children | 54cc10207200 |
files | movenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Sun May 31 04:47:30 2009 +0000 +++ b/movenc.c Sun May 31 05:24:16 2009 +0000 @@ -1437,7 +1437,7 @@ put_be16(pb, atoi(t->value)); else { put_be16(pb, language_code("eng")); /* language */ - ascii_to_wc(pb, t->value); + put_buffer(pb, t->value, strlen(t->value)+1); /* UTF8 string value */ if (!strcmp(tag, "albm") && (t = av_metadata_get(s->metadata, "year", NULL, 0))) put_byte(pb, atoi(t->value));