Commit 8377d828 authored by Rémi Duraffort's avatar Rémi Duraffort

growl: fix an assert.

parent f6d64155
......@@ -159,10 +159,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
char *psz_artist = NULL;
char *psz_album = NULL;
input_thread_t *p_input;
playlist_t *p_playlist = pl_Hold( p_this );
p_input = playlist_CurrentInput( p_playlist );
pl_Release( p_this );
p_input = playlist_CurrentInput( (playlist_t*)p_this );
if( !p_input ) return VLC_SUCCESS;
vlc_object_hold( p_input );
......
......@@ -121,10 +121,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
char *psz_artist = NULL;
char *psz_album = NULL;
input_thread_t *p_input;
playlist_t *p_playlist = pl_Hold( p_this );
p_input = playlist_CurrentInput( p_playlist );
pl_Release( p_this );
p_input = playlist_CurrentInput( (playlist_t*)p_this );
if( !p_input ) return VLC_SUCCESS;
vlc_object_hold( p_input );
......
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