Skip to content

Commit

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

Please sign in to comment.