Merge "media: fix JNI call for 32-bit" into rvc-dev am: dc53f28811 am: 61de665007
Change-Id: If33482a6fa7bb8852f10f161f281968cc2e5498e
This commit is contained in:
@@ -2995,7 +2995,7 @@ static void android_media_MediaCodec_LinearBlock_native_recycle(
|
|||||||
JNIEnv *env, jobject thiz) {
|
JNIEnv *env, jobject thiz) {
|
||||||
JMediaCodecLinearBlock *context =
|
JMediaCodecLinearBlock *context =
|
||||||
(JMediaCodecLinearBlock *)env->GetLongField(thiz, gLinearBlockInfo.contextId);
|
(JMediaCodecLinearBlock *)env->GetLongField(thiz, gLinearBlockInfo.contextId);
|
||||||
env->CallVoidMethod(thiz, gLinearBlockInfo.setInternalStateId, 0, false);
|
env->CallVoidMethod(thiz, gLinearBlockInfo.setInternalStateId, jlong(0), false);
|
||||||
delete context;
|
delete context;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user