DO NOT MERGE Only pass whole clear frames to OEMCrypto_CopyBuffer am: 58bad94991 am: 1eeb1ee359
am: a060a58acb
* commit 'a060a58acbbbae0b37a8ff067e90f8f30d17f818':
DO NOT MERGE Only pass whole clear frames to OEMCrypto_CopyBuffer
This commit is contained in:
@@ -665,7 +665,9 @@ CdmResponseType CryptoSession::Decrypt(const CdmDecryptionParameters& params) {
|
||||
}
|
||||
|
||||
OEMCryptoResult sts = OEMCrypto_ERROR_NOT_IMPLEMENTED;
|
||||
if (!params.is_encrypted) {
|
||||
if (!params.is_encrypted &&
|
||||
params.subsample_flags ==
|
||||
(OEMCrypto_FirstSubsample | OEMCrypto_LastSubsample)) {
|
||||
sts = OEMCrypto_CopyBuffer(requested_security_level_,
|
||||
params.encrypt_buffer, params.encrypt_length,
|
||||
&buffer_descriptor, params.subsample_flags);
|
||||
|
||||
Reference in New Issue
Block a user