am 4fffa0ff: Fixed mediacodec mode\'s fatal error when eos is encountered.
* commit '4fffa0ff6ab7777db634b3f0cb9b38525a801169': Fixed mediacodec mode's fatal error when eos is encountered.
This commit is contained in:
@@ -120,6 +120,9 @@ ssize_t WVCryptoPlugin::decrypt(
|
|||||||
}
|
}
|
||||||
|
|
||||||
//ALOGD("size[%d]=%d", i, srcSize);
|
//ALOGD("size[%d]=%d", i, srcSize);
|
||||||
|
if (srcSize == 0) {
|
||||||
|
continue; // segment size is zero, do not call decrypt
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef REQUIRE_SECURE_BUFFERS
|
#ifdef REQUIRE_SECURE_BUFFERS
|
||||||
// decrypt using OEMCrypto API, used for L1 devices
|
// decrypt using OEMCrypto API, used for L1 devices
|
||||||
|
|||||||
Reference in New Issue
Block a user