icecat: update to upstream version 128.0.14-1gnu1
This commit is contained in:
parent
0cdda4f34e
commit
56c3deff60
77 changed files with 8997 additions and 3862 deletions
|
|
@ -46,11 +46,11 @@ CDM_API
|
|||
void* CreateCdmInstance(int cdm_interface_version, const char* key_system,
|
||||
uint32_t key_system_size,
|
||||
GetCdmHostFunc get_cdm_host_func, void* user_data) {
|
||||
if (cdm_interface_version != cdm::ContentDecryptionModule_10::kVersion) {
|
||||
// Only support CDM version 10 currently.
|
||||
if (cdm_interface_version != cdm::ContentDecryptionModule_11::kVersion) {
|
||||
// Only support CDM version 11 currently.
|
||||
return nullptr;
|
||||
}
|
||||
cdm::Host_10* host = static_cast<cdm::Host_10*>(
|
||||
cdm::Host_11* host = static_cast<cdm::Host_11*>(
|
||||
get_cdm_host_func(cdm_interface_version, user_data));
|
||||
return new FakeDecryptor(host);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue