Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
79e5fa67
Commit
79e5fa67
authored
Nov 09, 2014
by
Rémi Denis-Courmont
Committed by
Jean-Baptiste Kempf
Nov 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http: XML-decode Icy meta infos (fixes #12739)
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
57e64db2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/access/http.c
modules/access/http.c
+4
-0
No files found.
modules/access/http.c
View file @
79e5fa67
...
@@ -1425,6 +1425,8 @@ static int Request( access_t *p_access, uint64_t i_tell )
...
@@ -1425,6 +1425,8 @@ static int Request( access_t *p_access, uint64_t i_tell )
p_sys
->
psz_icy_name
=
EnsureUTF8
(
psz_tmp
);
p_sys
->
psz_icy_name
=
EnsureUTF8
(
psz_tmp
);
if
(
!
p_sys
->
psz_icy_name
)
if
(
!
p_sys
->
psz_icy_name
)
free
(
psz_tmp
);
free
(
psz_tmp
);
else
resolve_xml_special_chars
(
p_sys
->
psz_icy_name
);
msg_Dbg
(
p_access
,
"Icy-Name: %s"
,
p_sys
->
psz_icy_name
);
msg_Dbg
(
p_access
,
"Icy-Name: %s"
,
p_sys
->
psz_icy_name
);
input_thread_t
*
p_input
=
access_GetParentInput
(
p_access
);
input_thread_t
*
p_input
=
access_GetParentInput
(
p_access
);
if
(
p_input
)
if
(
p_input
)
...
@@ -1446,6 +1448,8 @@ static int Request( access_t *p_access, uint64_t i_tell )
...
@@ -1446,6 +1448,8 @@ static int Request( access_t *p_access, uint64_t i_tell )
p_sys
->
psz_icy_genre
=
EnsureUTF8
(
psz_tmp
);
p_sys
->
psz_icy_genre
=
EnsureUTF8
(
psz_tmp
);
if
(
!
p_sys
->
psz_icy_genre
)
if
(
!
p_sys
->
psz_icy_genre
)
free
(
psz_tmp
);
free
(
psz_tmp
);
else
resolve_xml_special_chars
(
p_sys
->
psz_icy_genre
);
msg_Dbg
(
p_access
,
"Icy-Genre: %s"
,
p_sys
->
psz_icy_genre
);
msg_Dbg
(
p_access
,
"Icy-Genre: %s"
,
p_sys
->
psz_icy_genre
);
input_thread_t
*
p_input
=
access_GetParentInput
(
p_access
);
input_thread_t
*
p_input
=
access_GetParentInput
(
p_access
);
if
(
p_input
)
if
(
p_input
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment