mediabunny 1.55.5 → 1.55.6

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.
@@ -7206,10 +7206,9 @@ var Mediabunny = (() => {
7206
7206
  case "esds":
7207
7207
  {
7208
7208
  const track = this.currentTrack;
7209
- if (!track) {
7209
+ if (!track || track.info?.type !== "audio") {
7210
7210
  break;
7211
7211
  }
7212
- assert(track.info?.type === "audio");
7213
7212
  slice.skip(4);
7214
7213
  const tag = readU8(slice);
7215
7214
  assert(tag === 3);