git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7890152
)
playlist: avoid a segfault when the fetcher has been unloaded
author
Rafaël Carré
<funman@videolan.org>
Thu, 18 Oct 2007 19:59:48 +0000
(19:59 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Thu, 18 Oct 2007 19:59:48 +0000
(19:59 +0000)
src/playlist/control.c
patch
|
blob
|
history
diff --git
a/src/playlist/control.c
b/src/playlist/control.c
index
f094a70
..
6b70f2d
100644
(file)
--- a/
src/playlist/control.c
+++ b/
src/playlist/control.c
@@
-475,7
+475,8
@@
int playlist_PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
}
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;