[vlc-devel] commit: media_list_player: Fix a warning that indicated a true mistake. ( Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 13 00:54:35 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 00:01:42 2008 +0200| [2720461a2b51de34d57aa583953af129b8cb5ce8] | committer: Pierre d'Herbemont 

media_list_player: Fix a warning that indicated a true mistake.

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

 src/control/media_list_player.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/control/media_list_player.c b/src/control/media_list_player.c
index 1ebed24..2fd4a8a 100644
--- a/src/control/media_list_player.c
+++ b/src/control/media_list_player.c
@@ -43,7 +43,7 @@ get_next_path( libvlc_media_list_player_t * p_mlp )
 
     if ( !p_mlp->current_playing_item_path )
     {
-        if( !libvlc_media_list_count( p_mlp, NULL ) )
+        if( !libvlc_media_list_count( p_mlp->p_mlist, NULL ) )
             return NULL;
         return libvlc_media_list_path_with_root_index(0);
     }




More information about the vlc-devel mailing list