From 4a92f5cbb43ef017728d86857538cab54b29cfde Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Thu, 16 Dec 2004 13:58:57 +0000 Subject: use UTF-8 meta info setting, where we know the string is ASCII (costly conversion is not necessary, because ASCII is a subset of UTF-8) CVS patchset: 7264 CVS date: 2004/12/16 13:58:57 --- src/libspeex/xine_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libspeex') diff --git a/src/libspeex/xine_decoder.c b/src/libspeex/xine_decoder.c index b95fa5fe2..5d4f57ab6 100644 --- a/src/libspeex/xine_decoder.c +++ b/src/libspeex/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.15 2004/12/16 13:16:50 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.16 2004/12/16 13:59:11 mroi Exp $ * * (ogg/)speex audio decoder plugin (libspeex wrapper) for xine */ @@ -128,7 +128,7 @@ void read_metadata (speex_decoder_t *this, char * comments, int length) int len, i, nb_fields; char * end; - _x_meta_info_set(this->stream, XINE_META_INFO_AUDIOCODEC, "speex"); + _x_meta_info_set_utf8(this->stream, XINE_META_INFO_AUDIOCODEC, "speex"); if (length < 8) { xprintf (this->stream->xine, XINE_VERBOSITY_DEBUG, "libspeex: invalid/corrupted comments\n"); -- cgit v1.2.3