[vlc-commits] libvlc_media_list: remove unused feature

Rafaël Carré git at videolan.org
Wed Feb 29 20:50:02 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 29 14:14:46 2012 -0500| [c5ba028a2d13d79b5f4c7e46e0bef95c5ca58f4d] | committer: Rafaël Carré

libvlc_media_list: remove unused feature

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

 lib/media_list.c          |    2 --
 lib/media_list_internal.h |    4 ----
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/lib/media_list.c b/lib/media_list.c
index 749d3c5..1d57025 100644
--- a/lib/media_list.c
+++ b/lib/media_list.c
@@ -166,8 +166,6 @@ libvlc_media_list_new( libvlc_instance_t * p_inst )
         return NULL;
     }
 
-    /* Code for that one should be handled in flat_media_list.c */
-    p_mlist->p_flat_mlist = NULL;
     p_mlist->b_read_only = false;
 
     libvlc_event_manager_register_event_type( p_mlist->p_event_manager,
diff --git a/lib/media_list_internal.h b/lib/media_list_internal.h
index 5cbbbd7..8df6579 100644
--- a/lib/media_list_internal.h
+++ b/lib/media_list_internal.h
@@ -46,10 +46,6 @@ struct libvlc_media_list_t
                                        * mlist comes, if any. */
     vlc_array_t                items;
 
-    /* Other way to see that media list */
-    /* Used in flat_media_list.c */
-    libvlc_media_list_t *       p_flat_mlist;
-
     /* This indicates if this media list is read-only
      * from a user point of view */
     bool                  b_read_only;



More information about the vlc-commits mailing list