Commit 3c3a37b3 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

jni: fix typo (and crash) from recent factorize

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e65b65e0
......@@ -244,7 +244,7 @@ void jni_detach_thread()
int jni_get_env(JNIEnv **env)
{
return (*myVm)->GetEnv(myVm, (void **)&env, VLC_JNI_VERSION) == JNI_OK ? 0 : -1;
return (*myVm)->GetEnv(myVm, (void **)env, VLC_JNI_VERSION) == JNI_OK ? 0 : -1;
}
// FIXME: use atomics
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment