diff --git a/package.json b/package.json index 4f1ce24823c..d56d86b8267 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,5 @@ { + "version": "0.14.16-nuvi", "name": "hls.js", "license": "Apache-2.0", "description": "JavaScript HLS client using MediaSourceExtension", diff --git a/src/demux/sample-aes.js b/src/demux/sample-aes.js index 47a96544f5a..ab808addafd 100644 --- a/src/demux/sample-aes.js +++ b/src/demux/sample-aes.js @@ -105,7 +105,7 @@ class SampleAesDecrypter { } let curUnit = curUnits[unitIndex]; - if (curUnit.length <= 48 || (curUnit.type !== 1 && curUnit.type !== 5)) { + if (curUnit.data.length <= 48 || (curUnit.type !== 1 && curUnit.type !== 5)) { continue; }