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
31f25084
Commit
31f25084
authored
Jul 02, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: remove unused XML validator
parent
cc47781e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
modules/demux/dash/xml/DOMParser.cpp
modules/demux/dash/xml/DOMParser.cpp
+1
-9
modules/demux/dash/xml/DOMParser.h
modules/demux/dash/xml/DOMParser.h
+0
-1
No files found.
modules/demux/dash/xml/DOMParser.cpp
View file @
31f25084
...
@@ -39,7 +39,6 @@ using namespace dash::mpd;
...
@@ -39,7 +39,6 @@ using namespace dash::mpd;
DOMParser
::
DOMParser
(
stream_t
*
stream
)
:
DOMParser
::
DOMParser
(
stream_t
*
stream
)
:
root
(
NULL
),
root
(
NULL
),
stream
(
stream
),
stream
(
stream
),
vlc_xml
(
NULL
),
vlc_reader
(
NULL
)
vlc_reader
(
NULL
)
{
{
}
}
...
@@ -49,8 +48,6 @@ DOMParser::~DOMParser ()
...
@@ -49,8 +48,6 @@ DOMParser::~DOMParser ()
delete
this
->
root
;
delete
this
->
root
;
if
(
this
->
vlc_reader
)
if
(
this
->
vlc_reader
)
xml_ReaderDelete
(
this
->
vlc_reader
);
xml_ReaderDelete
(
this
->
vlc_reader
);
if
(
this
->
vlc_xml
)
xml_Delete
(
this
->
vlc_xml
);
}
}
Node
*
DOMParser
::
getRootNode
()
Node
*
DOMParser
::
getRootNode
()
...
@@ -59,12 +56,7 @@ Node* DOMParser::getRootNode ()
...
@@ -59,12 +56,7 @@ Node* DOMParser::getRootNode ()
}
}
bool
DOMParser
::
parse
()
bool
DOMParser
::
parse
()
{
{
this
->
vlc_xml
=
xml_Create
(
this
->
stream
);
this
->
vlc_reader
=
xml_ReaderCreate
(
this
->
stream
,
this
->
stream
);
if
(
!
this
->
vlc_xml
)
return
false
;
this
->
vlc_reader
=
xml_ReaderCreate
(
this
->
vlc_xml
,
this
->
stream
);
if
(
!
this
->
vlc_reader
)
if
(
!
this
->
vlc_reader
)
return
false
;
return
false
;
...
...
modules/demux/dash/xml/DOMParser.h
View file @
31f25084
...
@@ -54,7 +54,6 @@ namespace dash
...
@@ -54,7 +54,6 @@ namespace dash
Node
*
root
;
Node
*
root
;
stream_t
*
stream
;
stream_t
*
stream
;
xml_t
*
vlc_xml
;
xml_reader_t
*
vlc_reader
;
xml_reader_t
*
vlc_reader
;
Node
*
processNode
();
Node
*
processNode
();
...
...
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