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

Commit dc53f288 authored by Wonsik Kim's avatar Wonsik Kim Committed by Android (Google) Code Review
Browse files

Merge "media: fix JNI call for 32-bit" into rvc-dev

parents 3924bc3d d319a44c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2995,7 +2995,7 @@ static void android_media_MediaCodec_LinearBlock_native_recycle(
        JNIEnv *env, jobject thiz) {
    JMediaCodecLinearBlock *context =
        (JMediaCodecLinearBlock *)env->GetLongField(thiz, gLinearBlockInfo.contextId);
    env->CallVoidMethod(thiz, gLinearBlockInfo.setInternalStateId, 0, false);
    env->CallVoidMethod(thiz, gLinearBlockInfo.setInternalStateId, jlong(0), false);
    delete context;
}