]> git.sesse.net Git - vlc/commitdiff
media_list_player: Fix a warning that indicated a true mistake.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 22:01:42 +0000 (00:01 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 12 Aug 2008 22:57:25 +0000 (00:57 +0200)
src/control/media_list_player.c

index 1ebed24dcb6c7e6bee555266496174d43be34e54..2fd4a8a043a0b6d6bb5ed895bc8398c89975b71b 100644 (file)
@@ -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);
     }