Skip to content

Commit f36c2c1

Browse files
committed
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.
1 parent 24021ba commit f36c2c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libmatroska2/matroska_sem.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -975,12 +975,12 @@ const ebml_semantic EBML_SemanticTags[] = {
975975

976976
const ebml_semantic EBML_SemanticSegment[] = {
977977
{0, 0, &MATROSKA_ContextSeekHead, 0},
978-
{1, 1, &MATROSKA_ContextInfo, 0},
978+
{1, 0, &MATROSKA_ContextInfo, 0},
979979
{0, 0, &MATROSKA_ContextCluster, 0},
980-
{0, 1, &MATROSKA_ContextTracks, 0},
980+
{0, 0, &MATROSKA_ContextTracks, 0},
981981
{0, 1, &MATROSKA_ContextCues, 0},
982982
{0, 1, &MATROSKA_ContextAttachments, PROFILE_WEBM},
983-
{0, 1, &MATROSKA_ContextChapters, 0},
983+
{0, 0, &MATROSKA_ContextChapters, 0},
984984
{0, 0, &MATROSKA_ContextTags, 0},
985985
{0, 0, NULL ,0} // end of the table
986986
};

0 commit comments

Comments
 (0)