From 4eae0378408ea8673ded1948d3bedbf2c94fe5d9 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sun, 18 Sep 2022 07:35:01 +0200 Subject: [PATCH] libmatroska2: fix unique elements that can be recurring Until there is a recurring flag in libebml2 (#92) we must assume the element is ok multiple times. --- libmatroska2/matroska_sem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmatroska2/matroska_sem.c b/libmatroska2/matroska_sem.c index f10d57a9..56b0ba01 100644 --- a/libmatroska2/matroska_sem.c +++ b/libmatroska2/matroska_sem.c @@ -975,12 +975,12 @@ const ebml_semantic EBML_SemanticTags[] = { const ebml_semantic EBML_SemanticSegment[] = { {0, 0, &MATROSKA_ContextSeekHead, 0}, - {1, 1, &MATROSKA_ContextInfo, 0}, + {1, 0, &MATROSKA_ContextInfo, 0}, {0, 0, &MATROSKA_ContextCluster, 0}, - {0, 1, &MATROSKA_ContextTracks, 0}, + {0, 0, &MATROSKA_ContextTracks, 0}, {0, 1, &MATROSKA_ContextCues, 0}, {0, 1, &MATROSKA_ContextAttachments, PROFILE_WEBM}, - {0, 1, &MATROSKA_ContextChapters, 0}, + {0, 0, &MATROSKA_ContextChapters, 0}, {0, 0, &MATROSKA_ContextTags, 0}, {0, 0, NULL ,0} // end of the table };