Commit c17e7670 authored by Clément Stenac's avatar Clément Stenac

Fix

parent 1fa9ce8d
...@@ -95,9 +95,9 @@ static int Open( vlc_object_t *p_this ) ...@@ -95,9 +95,9 @@ static int Open( vlc_object_t *p_this )
*****************************************************************************/ *****************************************************************************/
static void Close( vlc_object_t *p_this ) static void Close( vlc_object_t *p_this )
{ {
playlist_t *p_playlist = pl_Yield( p_intf ); playlist_t *p_playlist = pl_Yield( p_this );
var_DelCallback( p_playlist, "playlist-current", ItemChange, p_this ); var_DelCallback( p_playlist, "playlist-current", ItemChange, p_this );
pl_Release( p_intf ); pl_Release( p_this );
notify_uninit(); notify_uninit();
} }
...@@ -117,7 +117,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var, ...@@ -117,7 +117,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
vlc_value_t oldval, vlc_value_t newval, void *param ) vlc_value_t oldval, vlc_value_t newval, void *param )
{ {
char psz_tmp[MAX_LENGTH]; char psz_tmp[MAX_LENGTH];
playlist_t *p_playlist;
char *psz_title = NULL; char *psz_title = NULL;
char *psz_artist = NULL; char *psz_artist = NULL;
char *psz_album = NULL; char *psz_album = NULL;
......
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