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
b10cf471
Commit
b10cf471
authored
Mar 08, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix XML encoding of our crappy XSPF extensions
(still not handling errors correctly)
parent
902c7254
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
modules/access/directory.c
modules/access/directory.c
+10
-4
No files found.
modules/access/directory.c
View file @
b10cf471
...
@@ -383,11 +383,17 @@ static block_t *Block (access_t *p_access)
...
@@ -383,11 +383,17 @@ static block_t *Block (access_t *p_access)
if
(
old_xspf_extension
==
NULL
)
if
(
old_xspf_extension
==
NULL
)
goto
fatal
;
goto
fatal
;
int
len2
=
asprintf
(
&
p_sys
->
psz_xspf_extension
,
"%s <vlc:node title=
\"
%s
\"
>
\n
"
,
old_xspf_extension
,
entry
);
char
*
title
=
convert_xml_special_chars
(
entry
);
if
(
len2
==
-
1
)
if
(
title
==
NULL
||
asprintf
(
&
p_sys
->
psz_xspf_extension
,
"%s"
" <vlc:node title=
\"
%s
\"
>
\n
"
,
old_xspf_extension
,
title
)
==
-
1
)
{
free
(
title
);
goto
fatal
;
goto
fatal
;
free
(
old_xspf_extension
);
}
free
(
title
);
free
(
old_xspf_extension
);
return
NULL
;
return
NULL
;
}
}
else
else
...
...
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