Merge "Merge "media: fix JNI call for 32-bit" into rvc-dev am: dc53f28811 am: 61de665007 am: ce35ab1577" into rvc-qpr-dev-plus-aosp

This commit is contained in:
Automerger Merge Worker
2020-05-29 20:53:23 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}