Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
003af74d
Commit
003af74d
authored
Oct 11, 2016
by
Filip Roséen
Committed by
Thomas Guillem
Oct 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access/dcp: merge declaration and initialization
Signed-off-by:
Thomas Guillem
<
thomas@gllm.fr
>
parent
7163e269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
modules/access/dcp/dcpparser.cpp
modules/access/dcp/dcpparser.cpp
+4
-7
No files found.
modules/access/dcp/dcpparser.cpp
View file @
003af74d
...
...
@@ -740,16 +740,13 @@ int XmlFile::OpenXml()
int
XmlFile
::
ReadNextNode
(
demux_t
*
p_demux
,
xml_reader_t
*
p_xmlReader
,
string
&
p_node
)
{
string
s_node
;
const
char
*
c_node
;
int
i
;
size_t
ui_pos
;
i
=
xml_ReaderNextNode
(
p_xmlReader
,
&
c_node
);
int
i
=
xml_ReaderNextNode
(
p_xmlReader
,
&
c_node
);
/* remove namespaces, if there are any */
s_node
=
c_node
;
ui_pos
=
s_node
.
find
(
":"
);
string
s_node
=
c_node
;
size_t
ui_pos
=
s_node
.
find
(
":"
);
if
(
(
i
==
XML_READER_STARTELEM
||
i
==
XML_READER_ENDELEM
)
&&
(
ui_pos
!=
string
::
npos
)
)
{
try
...
...
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