Commit 8c17cf44 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ncurses: pass interface thread pointer to pl_Get() directly

parent 8e032ed8
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment