Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbb0885b authored by Robert Shih's avatar Robert Shih
Browse files

NativeCryptoInfo: fix ctor invocation

( cherry picked from aosp/2652628 )

Bug: 289482631
Test: MediaDrmCodecBlockModelTest#testDecodeShortEncryptedVideo
Merged-In: Ie18af20c2dbc2f51a0ffd83d6642d13c79b08b9f
Change-Id: Ie18af20c2dbc2f51a0ffd83d6642d13c79b08b9f
parent 5c4c8a07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;