[Android] jni: Fix some typing errors

Edward Wang git at videolan.org
Tue Aug 28 17:22:09 CEST 2012


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Tue Aug 28 11:21:57 2012 -0400| [bb77f83341c38ee88bcd48f150e924c3a91164a1] | committer: Edward Wang

jni: Fix some typing errors

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

 vlc-android/jni/libvlcjni.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/jni/libvlcjni.c b/vlc-android/jni/libvlcjni.c
index 3af0c8e..bb0a664 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -671,7 +671,7 @@ void Java_org_videolan_vlc_LibVLC_setRate(JNIEnv *env, jobject thiz, jfloat rate
 }
 
 jboolean Java_org_videolan_vlc_LibVLC_hasVideoTrack(JNIEnv *env, jobject thiz,
-                                                    jint i_instance, jstring fileLocation)
+                                                    jlong i_instance, jstring fileLocation)
 {
     /* Create a new item and assign it to the media player. */
     libvlc_media_t *p_m = new_media(i_instance, env, thiz, fileLocation, false, false);
@@ -838,7 +838,7 @@ jobjectArray Java_org_videolan_vlc_LibVLC_readTracksInfoPosition(JNIEnv *env, jo
 }
 
 jlong Java_org_videolan_vlc_LibVLC_getLengthFromLocation(JNIEnv *env, jobject thiz,
-                                                     jint i_instance, jstring fileLocation)
+                                                     jlong i_instance, jstring fileLocation)
 {
     jlong length = 0;
     struct length_change_monitor *monitor;



More information about the Android mailing list