IcyMetadataParser: implement charset conversion

This commit is contained in:
Max Kellermann
2019-08-09 15:03:07 +02:00
parent 7654038d65
commit 4a47bbd816
4 changed files with 62 additions and 5 deletions

View File

@@ -18,7 +18,11 @@ icy_parse_tag(const char *p)
{
char *q = strdup(p);
AtScopeExit(q) { free(q); };
return icy_parse_tag(q, q + strlen(q));
return icy_parse_tag(
#ifdef HAVE_ICU_CONVERTER
nullptr,
#endif
q, q + strlen(q));
}
static void