[Android] medialist: fix warning

Thomas Guillem git at videolan.org
Tue Feb 10 13:36:03 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb 10 13:32:39 2015 +0100| [650a91ca1fd407f2090a10c240459458f5a7c438] | committer: Thomas Guillem

medialist: fix warning

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

 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 0f25cd0..5236885 100644
--- a/libvlc/jni/libvlcjni-medialist.c
+++ b/libvlc/jni/libvlcjni-medialist.c
@@ -54,7 +54,7 @@ MediaList_add_media(vlcjni_object *p_obj, int index, libvlc_media_t *p_m)
     // realloc
     if (i_new_medias_size > p_sys->i_medias_max)
     {
-        libvlc_media_t *pp_new_medias;
+        libvlc_media_t **pp_new_medias;
         unsigned int i_new_medias_max = p_sys->i_medias_max + MEDIAS_INIT_SIZE;
 
         pp_new_medias = realloc(p_sys->pp_medias,



More information about the Android mailing list