stream/network: accept ICY headers without a space after the colon

Fixes: #18507
This commit is contained in:
Kacper Michajłow
2026-10-08 02:13:29 +02:00
parent 56c168f81f
commit 36abaa32d0
+2 -1
View File
@@ -93,10 +93,11 @@ void mp_icy_reset(struct mp_icy *i)
void mp_icy_add_header(struct mp_icy *i, bstr line)
{
bstr name, val;
if (!bstr_split_tok(line, ": ", &name, &val))
if (!bstr_split_tok(line, ":", &name, &val))
return;
if (!bstr_case_startswith(name, bstr0("Icy-")))
return;
val = bstr_strip(val);
if (bstrcasecmp0(name, "Icy-MetaInt") == 0) {
long long mi = bstrtoll(val, NULL, 10);