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

Thomas Guillem git at videolan.org
Tue Oct 14 16:58:54 CEST 2014


vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Tue Oct 14 16:56:52 2014 +0200| [3c3a37b34c4866fcd097a33793fea9087fd58b00] | committer: Jean-Baptiste Kempf

jni: fix typo (and crash) from recent factorize

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3c3a37b34c4866fcd097a33793fea9087fd58b00
---

 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



More information about the Android mailing list