mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-22 04:15:54 -04: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 (in_value) {
|
||||||
|
if (!charset)
|
||||||
|
charset = plugin->charset;
|
||||||
|
|
||||||
value = util_conv_string (in_value, charset, "UTF-8");
|
value = util_conv_string (in_value, charset, "UTF-8");
|
||||||
if (value == NULL)
|
if (value == NULL)
|
||||||
value = strdup(in_value);
|
value = strdup(in_value);
|
||||||
|
Loading…
Reference in New Issue
Block a user