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
92864777
Commit
92864777
authored
Jan 22, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify
parent
f0e76bae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
modules/misc/xml/libxml.c
modules/misc/xml/libxml.c
+3
-6
No files found.
modules/misc/xml/libxml.c
View file @
92864777
...
...
@@ -145,6 +145,9 @@ struct xml_reader_sys_t
static
int
ReaderOpen
(
vlc_object_t
*
p_this
)
{
if
(
!
xmlHasFeature
(
XML_WITH_THREAD
)
)
return
VLC_EGENERIC
;
xml_reader_t
*
p_reader
=
(
xml_reader_t
*
)
p_this
;
xml_reader_sys_t
*
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
xmlTextReaderPtr
p_libxml_reader
;
...
...
@@ -152,12 +155,6 @@ static int ReaderOpen( vlc_object_t *p_this )
if
(
unlikely
(
!
p_sys
)
)
return
VLC_ENOMEM
;
if
(
!
xmlHasFeature
(
XML_WITH_THREAD
)
)
{
free
(
p_sys
);
return
VLC_EGENERIC
;
}
vlc_mutex_lock
(
&
lock
);
xmlInitParser
();
vlc_mutex_unlock
(
&
lock
);
...
...
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