]> git.sesse.net Git - vlc/commitdiff
playlist: Fix a legitimate warning.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Jul 2008 11:17:36 +0000 (13:17 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Jul 2008 11:21:36 +0000 (13:21 +0200)
src/playlist/search.c

index 3959e96b8b1e4a21d5b2f5433b1b7e029a9c02a9..b3f82233a109d313afe96b5cc90556883f4a3e80 100644 (file)
@@ -73,7 +73,7 @@ playlist_item_t * playlist_ItemGetByInput( playlist_t * p_playlist ,
     {
         /* FIXME: this is potentially dangerous, we could destroy
          * p_ret any time soon */
-        input_item_t *p_ret = get_current_status_item( p_playlist );
+        playlist_item_t *p_ret = get_current_status_item( p_playlist );
         PL_UNLOCK_IF( !b_locked );
         return p_ret;
     }