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
cc47781e
Commit
cc47781e
authored
Jul 02, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WPL: remove unused XML validator
parent
e3ae97a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
modules/demux/playlist/wpl.c
modules/demux/playlist/wpl.c
+1
-12
No files found.
modules/demux/playlist/wpl.c
View file @
cc47781e
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
struct
demux_sys_t
struct
demux_sys_t
{
{
xml_t
*
p_xml
;
xml_reader_t
*
p_reader
;
xml_reader_t
*
p_reader
;
char
*
psz_prefix
;
char
*
psz_prefix
;
};
};
...
@@ -164,8 +163,6 @@ void Close_WPL( vlc_object_t* p_this )
...
@@ -164,8 +163,6 @@ void Close_WPL( vlc_object_t* p_this )
free
(
p_sys
->
psz_prefix
);
free
(
p_sys
->
psz_prefix
);
if
(
p_sys
->
p_reader
)
if
(
p_sys
->
p_reader
)
xml_ReaderDelete
(
p_sys
->
p_reader
);
xml_ReaderDelete
(
p_sys
->
p_reader
);
if
(
p_sys
->
p_xml
)
xml_Delete
(
p_sys
->
p_xml
);
free
(
p_sys
);
free
(
p_sys
);
}
}
...
@@ -182,15 +179,7 @@ int Import_WPL( vlc_object_t* p_this )
...
@@ -182,15 +179,7 @@ int Import_WPL( vlc_object_t* p_this )
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
p_sys
->
p_xml
=
xml_Create
(
p_demux
);
p_sys
->
p_reader
=
xml_ReaderCreate
(
p_this
,
p_demux
->
s
);
if
(
!
p_sys
->
p_xml
)
{
msg_Err
(
p_demux
,
"Failed to create an XML parser"
);
Close_WPL
(
p_this
);
return
VLC_EGENERIC
;
}
p_sys
->
p_reader
=
xml_ReaderCreate
(
p_sys
->
p_xml
,
p_demux
->
s
);
if
(
!
p_sys
->
p_reader
)
if
(
!
p_sys
->
p_reader
)
{
{
msg_Err
(
p_demux
,
"Failed to create an XML reader"
);
msg_Err
(
p_demux
,
"Failed to create an XML reader"
);
...
...
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