Commit ba0f64f1 authored by Rafaël Carré's avatar Rafaël Carré

playlist: avoid a segfault when the fetcher has been unloaded

parent 78901527
...@@ -475,7 +475,8 @@ int playlist_PlayItem( playlist_t *p_playlist, playlist_item_t *p_item ) ...@@ -475,7 +475,8 @@ int playlist_PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
} }
free( psz_uri ); free( psz_uri );
if( p_playlist->p_fetcher->i_art_policy == ALBUM_ART_WHEN_PLAYED ) if( p_playlist->p_fetcher &&
p_playlist->p_fetcher->i_art_policy == ALBUM_ART_WHEN_PLAYED )
{ {
vlc_bool_t b_has_art; vlc_bool_t b_has_art;
......
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