Merge remote-tracking branch 'origin/main' into mpeg-ts

This commit is contained in:
Vanilagy
2026-01-16 21:04:14 +01:00
21 changed files with 297 additions and 86 deletions
+2 -2
View File
@@ -156,7 +156,7 @@ export class MatroskaInputFormat extends InputFormat {
}
const dataSize = readElementSize(headerSlice);
if (dataSize === null) {
if (typeof dataSize !== 'number') {
return false; // Miss me with that shit
}
@@ -172,7 +172,7 @@ export class MatroskaInputFormat extends InputFormat {
const { id, size } = header;
const dataStartPos = dataSlice.filePos;
if (size === null) return false;
if (size === undefined) return false;
switch (id) {
case EBMLId.EBMLVersion: {