mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
Older versions of expat don't know XML_ERROR_FINISHED yet.
This commit is contained in:
parent
c8426104bc
commit
e502fc7c05
@ -643,9 +643,8 @@ xml_parser_c::parse_one_xml_line() {
|
||||
handle_xml_encoding(line);
|
||||
|
||||
line += "\n";
|
||||
if ((XML_Parse(m_xml_parser, line.c_str(), line.length(),
|
||||
m_xml_source->eof()) == 0) &&
|
||||
(XML_GetErrorCode(m_xml_parser) != XML_ERROR_FINISHED)) {
|
||||
if (XML_Parse(m_xml_parser, line.c_str(), line.length(),
|
||||
m_xml_source->eof()) == 0) {
|
||||
string error;
|
||||
XML_Error xerror;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user