From 325741b592d910297bf609bc7c400fc76101077b Mon Sep 17 00:00:00 2001 From: Romain Bouqueau Date: Tue, 17 Oct 2023 11:46:16 +0200 Subject: [PATCH] Fix typo in audio.js - see #367 --- src/audio.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio.js b/src/audio.js index 3ecd7b1d..65b0aefb 100644 --- a/src/audio.js +++ b/src/audio.js @@ -34,11 +34,11 @@ AudioSpecificConfig.prototype.parse = function(stream, audioObjectType) { tmp = stream.readUint8(); this.extensionSamplingFrequencyIndex = tmp >> 4; if (this.extensionSamplingFrequencyIndex === 0xF) { - his.extensionSamplingFrequencyIndex = (tmp & 0xF) << 20; + this.extensionSamplingFrequencyIndex = (tmp & 0xF) << 20; this.extensionSamplingFrequencyIndex += stream.readUint8() << 12; this.extensionSamplingFrequencyIndex += stream.readUint8() << 4; tmp = stream.readUint8(); this.extensionSamplingFrequencyIndex += (tmp >> 4); } } -} \ No newline at end of file +}