Skip to content

Commit

Permalink
Sample AES decryption with 48 AVC Closes: #3102
Browse files Browse the repository at this point in the history
  • Loading branch information
Krystian Kuczek committed Oct 19, 2020
1 parent eca8c97 commit 693a604
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 693a604

Please sign in to comment.