[vlc-commits] ncurses: pass interface thread pointer to pl_Get()	directly
    Rémi Denis-Courmont 
    git at videolan.org
       
    Sun Jan  5 17:47:17 CET 2014
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan  5 18:33:59 2014 +0200| [8c17cf44c589221323fb2b449ff042ee807e79fe] | committer: Rémi Denis-Courmont
ncurses: pass interface thread pointer to pl_Get() directly
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c17cf44c589221323fb2b449ff042ee807e79fe
---
 modules/gui/ncurses.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index f5a742b..444cdb3 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1830,7 +1830,7 @@ static int Open(vlc_object_t *p_this)
 {
     intf_thread_t *intf = (intf_thread_t *)p_this;
     intf_sys_t    *sys  = intf->p_sys = calloc(1, sizeof(intf_sys_t));
-    playlist_t    *p_playlist = pl_Get(p_this);
+    playlist_t    *p_playlist = pl_Get(intf);
 
     if (!sys)
         return VLC_ENOMEM;
    
    
More information about the vlc-commits
mailing list