Fixed support for reading MultiComment tags from XML tag files.

This commit is contained in:
Moritz Bunkus 2003-08-10 09:07:22 +00:00
parent a237a10bfc
commit 4903680be2
2 changed files with 19 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2003-08-10 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: Fixed support for reading MultiComment tags from
XML tag files.
* mkvmerge: Allow some slightly broken Matroska files to be
processed correctly if the reference blocks are off by at most 1ms.

View File

@ -523,7 +523,11 @@ static void start_level3(parser_data_t *pdata, const char *name) {
} else
perror_nochild();
} else
} else if ((parent == E_MultiComment) &&
is_multicomment(pdata, name, pdata->m_comment))
return;
else
die("Unknown parent: level 3, %d", parent);
}
@ -716,7 +720,11 @@ static void start_level4(parser_data_t *pdata, const char *name) {
} else
perror_nochild();
} else
} else if ((parent == E_MultiComment) &&
is_multicomment(pdata, name, pdata->m_comment))
return;
else
die("Unknown parent: level 4, %d", parent);
}
@ -742,10 +750,13 @@ static void start_level5(parser_data_t *pdata, const char *name) {
} else if (!strcmp(name, "PriceDate")) {
check_instances(pdata->m_price, KaxTagMultiPricePriceDate);
pdata->parents->push_back(E_PriceDate);
} else
perror_nochild();
}
} else
} else if ((parent == E_MultiComment) &&
is_multicomment(pdata, name, pdata->m_comment))
return;
else
die("Unknown parent: level 5, %d", parent);
}