Skip to content

Commit

Permalink
Merge pull request #3131 from kuczek/bugfix/3102-sample-aes-decryptio…
Browse files Browse the repository at this point in the history
…n-problem

Sample AES decryption with 48 AVC Closes: #3102
  • Loading branch information
robwalch committed Oct 19, 2020
2 parents eca8c97 + 693a604 commit 28287d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demux/sample-aes.js
Expand Up @@ -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;
}

Expand Down

0 comments on commit 28287d7

Please sign in to comment.