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

Thomas Guillem git at videolan.org
Mon Nov 24 15:14:15 CET 2014


vlc-ports/android | branch: 1.0.x | Thomas Guillem <tom at gllm.fr> | Tue Oct 14 16:56:52 2014 +0200| [e2a5aa3785f65a5a31d19ca2b93d71773c3a76af] | committer: Thomas Guillem

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=e2a5aa3785f65a5a31d19ca2b93d71773c3a76af
---

 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 8ca2a5a..aa1e1f2 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -246,7 +246,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