Merge "media: fix JNI call for 32-bit" into rvc-dev am: dc53f28811 am: 79310ef4f6

Change-Id: I5b00a0dabd164ca8015fc4fdb37db1bce9055694
This commit is contained in:
Wonsik Kim
2020-05-29 20:39:58 +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;
}