1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Make metadata_get_name() return UTF8, which is what the rest of ezstream now

expects. From Roman Donchenko.


git-svn-id: https://svn.xiph.org/trunk/ezstream@15796 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
moritz 2009-03-18 19:57:15 +00:00
parent 7e8656313d
commit 363318fa41

View File

@ -317,7 +317,7 @@ metadata_get_name(const char *file)
if (strlen(p1) == 0)
name = xstrdup("[unknown]");
else
name = xstrdup(p1);
name = CHARtoUTF8(p1);
xfree(filename);
return (name);