Fix thing

This commit is contained in:
Vanilagy
2026-01-12 14:07:43 +01:00
parent 7b036fe8ac
commit d6b518b9fd
+1 -1
View File
@@ -346,7 +346,7 @@ export class MatroskaDemuxer extends Demuxer {
} else if (id === EBMLId.Segment) { // Segment found!
await this.readSegment(dataStartPos, size);
if (size === null) {
if (size === undefined) {
// Segment sizes can be undefined (common in livestreamed files), so assume this is the last
// and only segment
break;