Fix thing

This commit is contained in:
Vanilagy
2026-08-28 15:11:07 +02:00
parent ab6d705ebd
commit b03f89b922
+1 -1
View File
@@ -910,7 +910,7 @@ export class AudioDecoderWrapper extends DecoderWrapper<AudioSample> {
const sampleHandler = (sample: AudioSample) => {
let sampleTimestamp = sample.timestamp;
if (this.expectedFirstTimestamp && this.currentTimestamp === null) {
if (this.expectedFirstTimestamp !== null && this.currentTimestamp === null) {
this.timestampOffset = this.expectedFirstTimestamp - sampleTimestamp;
}