vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Fri Dec 22 10:40:51 2017 +0100| [a15a0a64200cc6ab8cbc61caabac126707f3f247] | committer: Hugo Beauzée-Luyssen
dcp: Fix assignment instead of comparison CID #1463255 #1463251 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a15a0a64200cc6ab8cbc61caabac126707f3f247 --- modules/access/dcp/dcpparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/access/dcp/dcpparser.cpp b/modules/access/dcp/dcpparser.cpp index 6bf9b38a1e..e40255dd49 100755 --- a/modules/access/dcp/dcpparser.cpp +++ b/modules/access/dcp/dcpparser.cpp @@ -1083,7 +1083,7 @@ int PKL::ParseSigner(string p_node, int p_type) while( ( type = XmlFile::ReadNextNode( this->p_demux, this->p_xmlReader, node ) ) > 0 ) { /* TODO not implemented. Just parse until end of Signer node */ - if ((node == p_node) && (type = XML_READER_ENDELEM)) + if ((node == p_node) && (type == XML_READER_ENDELEM)) return 0; } @@ -1103,7 +1103,7 @@ int PKL::ParseSignature(string p_node, int p_type) while( ( type = XmlFile::ReadNextNode( this->p_demux, this->p_xmlReader, node ) ) > 0 ) { /* TODO not implemented. Just parse until end of Signature node */ - if ((node == p_node) && (type = XML_READER_ENDELEM)) + if ((node == p_node) && (type == XML_READER_ENDELEM)) return 0; } msg_Err(this->p_demux, "Parse of Signature finished bad"); @@ -1509,7 +1509,7 @@ int CPL::DummyParse(string p_node, int p_type) while( ( type = XmlFile::ReadNextNode( this->p_demux, this->p_xmlReader, node ) ) > 0 ) { /* TODO not implemented. Just pase until end of input node */ - if ((node == p_node) && (type = XML_READER_ENDELEM)) + if ((node == p_node) && (type == XML_READER_ENDELEM)) return 0; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
