hls.js 1.5.6-0.canary.10008 → 1.5.6-0.canary.10011

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.
package/package.json CHANGED
@@ -119,7 +119,7 @@
119
119
  "npm-run-all2": "5.0.2",
120
120
  "prettier": "3.2.4",
121
121
  "promise-polyfill": "8.3.0",
122
- "rollup": "4.10.0",
122
+ "rollup": "4.12.0",
123
123
  "rollup-plugin-istanbul": "5.0.0",
124
124
  "sauce-connect-launcher": "1.3.2",
125
125
  "selenium-webdriver": "4.17.0",
@@ -130,5 +130,5 @@
130
130
  "url-toolkit": "2.2.5",
131
131
  "wrangler": "3.28.2"
132
132
  },
133
- "version": "1.5.6-0.canary.10008"
133
+ "version": "1.5.6-0.canary.10011"
134
134
  }
@@ -136,11 +136,13 @@ export function parseSegmentIndex(sidx: Uint8Array): SidxInfo | null {
136
136
  let firstOffset = 0;
137
137
 
138
138
  if (version === 0) {
139
- earliestPresentationTime = readUint32(sidx, (index += 4));
140
- firstOffset = readUint32(sidx, (index += 4));
139
+ earliestPresentationTime = readUint32(sidx, index);
140
+ firstOffset = readUint32(sidx, index + 4);
141
+ index += 8;
141
142
  } else {
142
- earliestPresentationTime = readUint64(sidx, (index += 8));
143
- firstOffset = readUint64(sidx, (index += 8));
143
+ earliestPresentationTime = readUint64(sidx, index);
144
+ firstOffset = readUint64(sidx, index + 8);
145
+ index += 16;
144
146
  }
145
147
 
146
148
  // skip reserved