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

Change-Id: I2ac0c8439ca2fe93e6726001e4dd02ecad518377
This commit is contained in:
Wonsik Kim
2020-05-29 20:53:17 +00:00
committed by Automerger Merge Worker

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