Skip to content

Commit

Permalink
reset remainderData in resetContiguity (#5410)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamChiu authored Apr 24, 2023
1 parent 569054a commit 0b1e939
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/demux/mp4demuxer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ class MP4Demuxer implements Demuxer {
videoTrack.duration = audioTrack.duration = trackDuration;
}

public resetContiguity(): void {}
public resetContiguity(): void {
this.remainderData = null;
}

static probe(data: Uint8Array) {
// ensure we find a moof box in the first 16 kB
Expand Down

0 comments on commit 0b1e939

Please sign in to comment.