mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Better support for unknown global elements (untested).
This commit is contained in:
parent
80bf113803
commit
0685968795
@ -216,9 +216,11 @@ void parse_args(int argc, char **argv, char *&file_name, bool &use_gui) {
|
||||
}
|
||||
|
||||
bool is_ebmlvoid(EbmlElement *l, int level, int &upper_lvl_el) {
|
||||
if (upper_lvl_el < 0)
|
||||
upper_lvl_el = 0;
|
||||
|
||||
if (EbmlId(*l) == EbmlVoid::ClassInfos.GlobalId) {
|
||||
show_element(l, level, "EbmlVoid");
|
||||
upper_lvl_el = 0;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user