[vlc-devel] commit: playlist: Fix a legitimate warning. (Pierre d'Herbemont )

git version control git at videolan.org
Tue Jul 15 13:19:22 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Jul 15 13:17:36 2008 +0200| [24ce4a48b9a5a9989e32fa1b6e0b8a3c53f39b79]

playlist: Fix a legitimate warning.

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

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

diff --git a/src/playlist/search.c b/src/playlist/search.c
index 3959e96..b3f8223 100644
--- a/src/playlist/search.c
+++ b/src/playlist/search.c
@@ -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;
     }




More information about the vlc-devel mailing list