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

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

NativeCryptoInfo: fix ctor invocation

Bug: 289482631
Test: MediaDrmCodecBlockModelTest#testDecodeShortEncryptedVideo
Change-Id: Ie18af20c2dbc2f51a0ffd83d6642d13c79b08b9f
parent 6cc59823
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2491,7 +2491,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;