am d601914d: Don\'t set BufferType to clear for non-encrypted buffers
* commit 'd601914d57d6f3759c7ef8d561c56f3e13738e02': Don't set BufferType to clear for non-encrypted buffers
This commit is contained in:
@@ -401,9 +401,6 @@ CdmResponseType CryptoSession::Decrypt(bool is_encrypted,
|
||||
OEMCrypto_DestBufferDesc buffer_descriptor;
|
||||
buffer_descriptor.type = destination_buffer_type_;
|
||||
|
||||
if (!is_encrypted)
|
||||
buffer_descriptor.type = OEMCrypto_BufferType_Clear;
|
||||
|
||||
switch (buffer_descriptor.type) {
|
||||
case OEMCrypto_BufferType_Clear:
|
||||
buffer_descriptor.buffer.clear.address =
|
||||
|
||||
Reference in New Issue
Block a user