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:
82f30a7
)
playlist: fix a segfault
author
Rafaël Carré
<funman@videolan.org>
Wed, 3 Oct 2007 22:21:00 +0000
(22:21 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Wed, 3 Oct 2007 22:21:00 +0000
(22:21 +0000)
src/playlist/tree.c
patch
|
blob
|
history
diff --git
a/src/playlist/tree.c
b/src/playlist/tree.c
index
3f9b426
..
68b2228
100644
(file)
--- a/
src/playlist/tree.c
+++ b/
src/playlist/tree.c
@@
-533,7
+533,7
@@
playlist_item_t *GetNextUncle( playlist_t *p_playlist, playlist_item_t *p_item,
if( p_parent != NULL )
{
p_grandparent = p_parent->p_parent;
- while(
1
)
+ while(
p_grandparent
)
{
int i;
for( i = 0 ; i< p_grandparent->i_children ; i++ )