[Android] [PATCH] jni: fix typo (and crash) from recent factorize

Thomas Guillem tom at gllm.fr
Tue Oct 14 16:56:52 CEST 2014


---
 vlc-android/jni/libvlcjni.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/jni/libvlcjni.c b/vlc-android/jni/libvlcjni.c
index fc191d2..0813d7c 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -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
-- 
2.1.0



More information about the Android mailing list