Commit 1be5381d authored by sigmunau's avatar sigmunau
Browse files

demux/playlist: fix a crash when shoutcast discovery correctly is not

autoplayed
parent 945b9c41
......@@ -122,7 +122,7 @@ vlc_bool_t FindItem( demux_t *p_demux, playlist_t *p_playlist,
playlist_item_t **pp_item )
{
vlc_bool_t b_play;
if( &p_playlist->status.p_item->input ==
if( p_playlist->status.p_item && &p_playlist->status.p_item->input ==
((input_thread_t *)p_demux->p_parent)->input.p_item )
{
msg_Dbg( p_playlist, "starting playlist playback" );
......
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