[xiph-cvs] cvs commit: vorbis-tools/vorbiscomment vcomment.c

Michael Smith msmith at xiph.org
Mon Sep 24 23:20:44 PDT 2001



msmith      01/09/24 23:20:44

  Modified:    vorbiscomment vcomment.c
  Log:
  Actually use result from utf8 conversion, instead of doing it and
  discarding results.

Revision  Changes    Path
1.11      +1 -1      vorbis-tools/vorbiscomment/vcomment.c

Index: vcomment.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/vorbiscomment/vcomment.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- vcomment.c	2001/09/22 22:49:52	1.10
+++ vcomment.c	2001/09/25 06:20:43	1.11
@@ -227,7 +227,7 @@
         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, "

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list