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
3b1b0b72
Commit
3b1b0b72
authored
Jul 02, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DCP: remove unused XML validator
parent
31f25084
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
modules/access/dcp/dcpparser.cpp
modules/access/dcp/dcpparser.cpp
+1
-10
modules/access/dcp/dcpparser.h
modules/access/dcp/dcpparser.h
+0
-1
No files found.
modules/access/dcp/dcpparser.cpp
View file @
3b1b0b72
...
...
@@ -723,22 +723,16 @@ int XmlFile::OpenXml()
{
char
*
psz_uri
;
this
->
p_xml
=
xml_Create
(
this
->
p_demux
);
if
(
!
this
->
p_xml
)
{
return
-
1
;
}
psz_uri
=
vlc_path2uri
(
this
->
s_path
.
c_str
(),
"file"
);
this
->
p_stream
=
stream_UrlNew
(
this
->
p_demux
,
psz_uri
);
free
(
psz_uri
);
if
(
!
this
->
p_stream
)
{
xml_Delete
(
this
->
p_xml
);
return
-
1
;
}
this
->
p_xmlReader
=
xml_ReaderCreate
(
this
->
p_
xml
,
this
->
p_stream
);
this
->
p_xmlReader
=
xml_ReaderCreate
(
this
->
p_
demux
,
this
->
p_stream
);
if
(
!
this
->
p_xmlReader
)
{
stream_Delete
(
this
->
p_stream
);
xml_Delete
(
this
->
p_xml
);
return
-
1
;
}
return
0
;
...
...
@@ -828,9 +822,6 @@ void XmlFile::CloseXml() {
stream_Delete
(
this
->
p_stream
);
if
(
this
->
p_xmlReader
)
xml_ReaderDelete
(
this
->
p_xmlReader
);
if
(
this
->
p_xml
)
xml_Delete
(
this
->
p_xml
);
}
/*
...
...
modules/access/dcp/dcpparser.h
View file @
3b1b0b72
...
...
@@ -128,7 +128,6 @@ protected:
string
s_path
;
stream_t
*
p_stream
;
xml_t
*
p_xml
;
xml_reader_t
*
p_xmlReader
;
int
OpenXml
();
...
...
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