Clarify EBML strings are ASCII

This commit is contained in:
Vanilagy
2025-08-11 16:10:43 +02:00
parent b224ac0dc6
commit 6d447660c2
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ export class MatroskaInputFormat extends InputFormat {
}
}; break;
case EBMLId.DocType: {
const docType = ebmlReader.readString(size);
const docType = ebmlReader.readAsciiString(size);
if (docType !== desiredDocType) {
return false;
}