From 6aa4137f4bf502573cc20428c8603616dd08a0f6 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Wed, 26 Aug 2009 16:02:20 +0200 Subject: [PATCH] macosx: pl_CurrentInput doesn't take a playlist as argument. --- modules/gui/macosx/intf.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 5d98ed2ea7..79c934ae71 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -286,9 +286,7 @@ input_thread_t *getInput(void) intf_thread_t *p_intf = VLCIntf; if (!p_intf) return NULL; - input_thread_t *p_input = pl_CurrentInput(p_intf); - pl_Release(p_playlist); - return p_input; + return pl_CurrentInput(p_intf); } vout_thread_t *getVout(void) -- GitLab