mediabunny 1.45.0 → 1.45.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1942,7 +1942,7 @@ var Mediabunny = (() => {
1942
1942
  }
1943
1943
  };
1944
1944
  var OPUS_SAMPLE_RATE = 48e3;
1945
- var PCM_CODEC_REGEX = /^pcm-([usf])(\d+)+(be)?$/;
1945
+ var PCM_CODEC_REGEX = /^pcm-([usf])(\d+)(be)?$/;
1946
1946
  var parsePcmCodec = (codec) => {
1947
1947
  assert(PCM_AUDIO_CODECS.includes(codec));
1948
1948
  if (codec === "ulaw") {
@@ -25266,7 +25266,7 @@ var Mediabunny = (() => {
25266
25266
  }
25267
25267
  readU24() {
25268
25268
  const high = this.view.getUint16(this.pos, false);
25269
- const low = this.view.getUint8(this.pos + 1);
25269
+ const low = this.view.getUint8(this.pos + 2);
25270
25270
  this.pos += 3;
25271
25271
  return high * 256 + low;
25272
25272
  }