Merge "Added support for additional HDCP levels." into udc-dev
This commit is contained in:
@@ -2103,9 +2103,8 @@ CdmResponseType CryptoSession::GetHdcpCapabilities(
|
||||
RETURN_IF_NULL(current, PARAMETER_NULL);
|
||||
RETURN_IF_NULL(max, PARAMETER_NULL);
|
||||
|
||||
OEMCryptoResult status;
|
||||
WithOecReadLock("GetHdcpCapabilities", [&] {
|
||||
status = OEMCrypto_GetHDCPCapability(security_level, current, max);
|
||||
const OEMCryptoResult status = WithOecReadLock("GetHdcpCapabilities", [&] {
|
||||
return OEMCrypto_GetHDCPCapability(security_level, current, max);
|
||||
});
|
||||
|
||||
if (OEMCrypto_SUCCESS == status) {
|
||||
|
||||
Reference in New Issue
Block a user