mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Fix: Fixed a regression happening when ICY-style metadata update is handled without a charset parameter
This commit is contained in:
parent
b14ff56f64
commit
f1f0b165dd
@ -139,6 +139,9 @@ static void mp3_set_tag (format_plugin_t *plugin, const char *tag, const char *i
|
||||
}
|
||||
|
||||
if (in_value) {
|
||||
if (!charset)
|
||||
charset = plugin->charset;
|
||||
|
||||
value = util_conv_string (in_value, charset, "UTF-8");
|
||||
if (value == NULL)
|
||||
value = strdup(in_value);
|
||||
|
Loading…
Reference in New Issue
Block a user