mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +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);
|
handle_xml_encoding(line);
|
||||||
|
|
||||||
line += "\n";
|
line += "\n";
|
||||||
if ((XML_Parse(m_xml_parser, line.c_str(), line.length(),
|
if (XML_Parse(m_xml_parser, line.c_str(), line.length(),
|
||||||
m_xml_source->eof()) == 0) &&
|
m_xml_source->eof()) == 0) {
|
||||||
(XML_GetErrorCode(m_xml_parser) != XML_ERROR_FINISHED)) {
|
|
||||||
string error;
|
string error;
|
||||||
XML_Error xerror;
|
XML_Error xerror;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user