Skip to content

Commit

Permalink
Sample AES decryption with 48 AVC Closes: #3102
Browse files Browse the repository at this point in the history
(cherry picked from commit 693a604)
  • Loading branch information
Krystian Kuczek authored and Rob Walch committed Oct 19, 2020
1 parent 6ee48a2 commit f6c3a20
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 f6c3a20

Please sign in to comment.