mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
Fix thing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user