Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
edff9427
Commit
edff9427
authored
Aug 29, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces xml special chars in image url
parent
8eee31fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/misc/playlist/xspf.c
modules/misc/playlist/xspf.c
+6
-3
No files found.
modules/misc/playlist/xspf.c
View file @
edff9427
...
...
@@ -212,11 +212,14 @@ static void xspf_export_item( playlist_item_t *p_item, FILE *p_file,
free
(
psz_temp
);
psz
=
input_item_GetArtURL
(
p_item
->
p_input
);
if
(
!
EMPTY_STR
(
psz
)
)
if
(
psz
==
NULL
)
psz
=
strdup
(
""
);
psz_temp
=
convert_xml_special_chars
(
psz
);
free
(
psz
);
if
(
!
EMPTY_STR
(
psz_temp
)
)
{
fprintf
(
p_file
,
"
\t\t\t
<image>%s</image>
\n
"
,
psz
);
fprintf
(
p_file
,
"
\t\t\t
<image>%s</image>
\n
"
,
psz
_temp
);
}
free
(
psz
);
free
(
psz
_temp
);
xspfexportitem_end:
/* -> the duration */
...
...
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