NativeCryptoInfo: fix ctor invocation
( cherry picked from aosp/2652628 ) Bug: 289482631 Test: MediaDrmCodecBlockModelTest#testDecodeShortEncryptedVideo Merged-In: Ie18af20c2dbc2f51a0ffd83d6642d13c79b08b9f Change-Id: Ie18af20c2dbc2f51a0ffd83d6642d13c79b08b9f
This commit is contained in:
@@ -2615,7 +2615,7 @@ static void android_media_MediaCodec_native_queueLinearBlock(
|
||||
return;
|
||||
}
|
||||
auto cryptoInfo =
|
||||
cryptoInfoObj ? NativeCryptoInfo{size} : NativeCryptoInfo{env, cryptoInfoObj};
|
||||
cryptoInfoObj ? NativeCryptoInfo{env, cryptoInfoObj} : NativeCryptoInfo{size};
|
||||
if (env->ExceptionCheck()) {
|
||||
// Creation of cryptoInfo failed. Let the exception bubble up.
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user