[Android] MediaList: fix prototype

Edward Wang git at videolan.org
Wed Aug 28 22:15:50 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Aug 28 22:13:46 2013 +0200| [5a5626bcfe09670dfe4e6b9051b84ef282f20465] | committer: Edward Wang

MediaList: fix prototype

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

 vlc-android/src/org/videolan/libvlc/MediaList.java |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/libvlc/MediaList.java b/vlc-android/src/org/videolan/libvlc/MediaList.java
index 94e394e..f61ecc8 100644
--- a/vlc-android/src/org/videolan/libvlc/MediaList.java
+++ b/vlc-android/src/org/videolan/libvlc/MediaList.java
@@ -76,7 +76,10 @@ public class MediaList {
      * @param position The position to expand
      * @return -1 if no subitems were found, 0 if subitems were expanded
      */
-    public native int expandMedia(int position);
+    public int expandMedia(int position) {
+        return expandMedia(mLibVLC, position);
+    }
+    private native int expandMedia(LibVLC libvlc_instance, int position);
 
     public void loadPlaylist(String mrl) {
         loadPlaylist(mLibVLC, mrl);



More information about the Android mailing list