Skip to content

Commit 0b1e939

Browse files
authored
reset remainderData in resetContiguity (video-dev#5410)
1 parent 569054a commit 0b1e939

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/demux/mp4demuxer.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ class MP4Demuxer implements Demuxer {
8787
videoTrack.duration = audioTrack.duration = trackDuration;
8888
}
8989

90-
public resetContiguity(): void {}
90+
public resetContiguity(): void {
91+
this.remainderData = null;
92+
}
9193

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

0 commit comments

Comments
 (0)