[Android] libvlcjni: fix crash (typo)

Thomas Guillem git at videolan.org
Wed Mar 25 16:17:37 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Mar 25 16:17:01 2015 +0100| [67c034ef01e7cc7f267ce93110e55a5afb58df3c] | committer: Thomas Guillem

libvlcjni: fix crash (typo)

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

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

diff --git a/libvlc/jni/libvlcjni-medialist.c b/libvlc/jni/libvlcjni-medialist.c
index b5766c8..26dcf4d 100644
--- a/libvlc/jni/libvlcjni-medialist.c
+++ b/libvlc/jni/libvlcjni-medialist.c
@@ -221,7 +221,7 @@ Java_org_videolan_libvlc_MediaList_nativeNewFromMedia(JNIEnv *env,
         return;
     }
 
-    p_obj = VLCJniObject_newFromLibVlc(env, thiz, p_m_obj->p_libvlc, p_error);
+    p_obj = VLCJniObject_newFromLibVlc(env, thiz, p_m_obj->p_libvlc, &p_error);
     if (!p_obj)
     {
         throw_IllegalStateException(env, p_error);



More information about the Android mailing list