stream_lavf: assume icy title data is terminated with ';'

Should fix #1071.
This commit is contained in:
wm4 2014-09-06 13:46:17 +02:00
parent 7791e25fa0
commit a6774d3a83
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ static struct mp_tags *read_icy(stream_t *s)
int i = bstr_find(packet, head);
if (i >= 0) {
packet = bstr_cut(packet, i + head.len);
int end = bstrchr(packet, '\'');
int end = bstr_find(packet, bstr0("\';"));
packet = bstr_splice(packet, 0, end);
mp_tags_set_bstr(res, bstr0("icy-title"), packet);
}