diff --git a/ChangeLog b/ChangeLog index e13560ce0..28e924f19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-21 Moritz Bunkus + + * mkvinfo: bug fix: mkvinfo was forcing libmatroska not to handle + unknown elements and crashed on those. + 2004-04-15 Moritz Bunkus * mmg: new feature: When adding Matroska files the video track's diff --git a/src/mkvinfo.cpp b/src/mkvinfo.cpp index c8e58136a..f517cae14 100644 --- a/src/mkvinfo.cpp +++ b/src/mkvinfo.cpp @@ -577,7 +577,7 @@ void sort_master(EbmlMaster &m) { void read_master(EbmlMaster *m, EbmlStream *es, const EbmlSemanticContext &ctx, int &upper_lvl_el, EbmlElement *&l2) { - m->Read(*es, ctx, upper_lvl_el, l2, false); + m->Read(*es, ctx, upper_lvl_el, l2, true); if (m->ListSize() == 0) return; @@ -682,7 +682,6 @@ bool process_file(const char *file_name) { l1 = es->FindNextElement(l0->Generic().Context, upper_lvl_el, 0xFFFFFFFFL, true); while ((l1 != NULL) && (upper_lvl_el <= 0)) { - if (is_id(l1, KaxInfo)) { // General info about this Matroska file show_element(l1, 1, "Segment information");