[FFmpeg-cvslog] r19023 - trunk/libavformat/movenc.c
bcoudurier
subversion
Sun May 31 07:24:16 CEST 2009
Author: bcoudurier
Date: Sun May 31 07:24:16 2009
New Revision: 19023
Log:
fix 3gp metadata, write strings in UTF8, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com
Modified:
trunk/libavformat/movenc.c
Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c Sun May 31 07:14:09 2009 (r19022)
+++ trunk/libavformat/movenc.c Sun May 31 07:24:16 2009 (r19023)
@@ -1437,7 +1437,7 @@ static int mov_write_3gp_udta_tag(ByteIO
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));
More information about the ffmpeg-cvslog
mailing list