Commit 29b3efc1 authored by Michael Smith's avatar Michael Smith
Browse files

Actually use result from utf8 conversion, instead of doing it and

discarding results.

svn path=/trunk/vorbis-tools/; revision=2084
parent d94c181b
......@@ -227,7 +227,7 @@ int add_comment(char *line, vorbis_comment *vc, char *encoding)
if (utf8_encode(value, &utf8_value, encoding) == 0) {
/* append the comment and return */
vorbis_comment_add_tag(vc, line, value);
vorbis_comment_add_tag(vc, line, utf8_value);
return 0;
} else {
fprintf(stderr, "Couldn't convert comment to UTF8, "
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment