[Android] jni: fix typo (and crash) from recent factorize
Thomas Guillem
git at videolan.org
Thu Oct 16 12:13:34 CEST 2014
vlc-ports/android | branch: tv | Thomas Guillem <tom at gllm.fr> | Tue Oct 14 16:56:52 2014 +0200| [09c3e3b4fa8effa6f2b9e1846617e1615a1d999d] | committer: Geoffrey Métais
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=09c3e3b4fa8effa6f2b9e1846617e1615a1d999d
---
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