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
|
|
@ -27,11 +27,13 @@ void DecryptJob::PostResult(DecryptStatus aResult,
|
|||
if (aDecryptedData.Length() != mSample->Size()) {
|
||||
NS_WARNING("CDM returned incorrect number of decrypted bytes");
|
||||
}
|
||||
if (aResult == eme::Ok) {
|
||||
if (aResult == DecryptStatus::Ok) {
|
||||
UniquePtr<MediaRawDataWriter> writer(mSample->CreateWriter());
|
||||
PodCopy(writer->Data(), aDecryptedData.Elements(),
|
||||
std::min<size_t>(aDecryptedData.Length(), mSample->Size()));
|
||||
} else if (aResult == eme::NoKeyErr) {
|
||||
if (NS_WARN_IF(!writer->Replace(aDecryptedData.Elements(),
|
||||
aDecryptedData.Length()))) {
|
||||
aResult = DecryptStatus::GenericErr;
|
||||
}
|
||||
} else if (aResult == DecryptStatus::NoKeyErr) {
|
||||
NS_WARNING("CDM returned NoKeyErr");
|
||||
// We still have the encrypted sample, so we can re-enqueue it to be
|
||||
// decrypted again once the key is usable again.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue