Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4a5b1b08
Commit
4a5b1b08
authored
Jan 21, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XML: fix incomplete last commit
parent
ad10f794
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/misc/xml/libxml.c
modules/misc/xml/libxml.c
+5
-5
No files found.
modules/misc/xml/libxml.c
View file @
4a5b1b08
...
...
@@ -200,9 +200,9 @@ static void ReaderClose( vlc_object_t *p_this )
static
int
ReaderUseDTD
(
xml_reader_t
*
p_reader
)
{
/* Activate DTD validation */
xmlTextReaderSetParserProp
(
(
void
*
)
p_reader
->
p_sys
,
xmlTextReaderSetParserProp
(
p_reader
->
p_sys
->
xml
,
XML_PARSER_DEFAULTATTRS
,
true
);
xmlTextReaderSetParserProp
(
(
void
*
)
p_reader
->
p_sys
,
xmlTextReaderSetParserProp
(
p_reader
->
p_sys
->
xml
,
XML_PARSER_VALIDATE
,
true
);
return
VLC_SUCCESS
;
...
...
@@ -263,16 +263,16 @@ skip:
static
char
*
ReaderValue
(
xml_reader_t
*
p_reader
)
{
const
xmlChar
*
psz_value
=
xmlTextReaderConstValue
(
(
void
*
)
p_reader
->
p_sys
);
xmlTextReaderConstValue
(
p_reader
->
p_sys
->
xml
);
return
psz_value
?
strdup
(
(
const
char
*
)
psz_value
)
:
NULL
;
}
static
const
char
*
ReaderNextAttr
(
xml_reader_t
*
p_reader
)
{
if
(
xmlTextReaderMoveToNextAttribute
(
(
void
*
)
p_reader
->
p_sys
)
!=
1
)
if
(
xmlTextReaderMoveToNextAttribute
(
p_reader
->
p_sys
->
xml
)
!=
1
)
return
NULL
;
return
(
const
char
*
)
xmlTextReaderConstValue
(
(
void
*
)
p_reader
->
p_sys
);
return
(
const
char
*
)
xmlTextReaderConstValue
(
p_reader
->
p_sys
->
xml
);
}
static
int
StreamRead
(
void
*
p_context
,
char
*
p_buffer
,
int
i_buffer
)
...
...
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