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:
parent
7e8656313d
commit
363318fa41
@ -317,7 +317,7 @@ metadata_get_name(const char *file)
|
|||||||
if (strlen(p1) == 0)
|
if (strlen(p1) == 0)
|
||||||
name = xstrdup("[unknown]");
|
name = xstrdup("[unknown]");
|
||||||
else
|
else
|
||||||
name = xstrdup(p1);
|
name = CHARtoUTF8(p1);
|
||||||
|
|
||||||
xfree(filename);
|
xfree(filename);
|
||||||
return (name);
|
return (name);
|
||||||
|
Loading…
Reference in New Issue
Block a user