]> git.sesse.net Git - vlc/blobdiff - modules/gui/pda/pda_callbacks.c
The playlist have to be locked when calling playlist_ItemGetById (not tested for...
[vlc] / modules / gui / pda / pda_callbacks.c
index c0c93c28a6cc568fdf3976485cdb17dad53ead71..9811b799682db3acb4671294b6437166a3c1fd5e 100644 (file)
@@ -164,7 +164,7 @@ void PlaylistRebuildListStore( intf_thread_t *p_intf,
     PL_LOCK;
     for( i_dummy = 0; i_dummy < playlist_CurrentSize(p_playlist) ; i_dummy++ )
     {
-        playlist_item_t *p_item = playlist_ItemGetById( p_playlist, i_dummy, pl_Locked );
+        playlist_item_t *p_item = playlist_ItemGetById( p_playlist, i_dummy );
         if( p_item )
         {
             ppsz_text[0] = p_item->p_input->psz_name;