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:
6c93b8b
)
playlist_NodeDelete(): we want to delete a specific playlist_item_t*, not a playlist_...
author
Rafaël Carré
<funman@videolan.org>
Wed, 17 Oct 2007 15:51:00 +0000
(15:51 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Wed, 17 Oct 2007 15:51:00 +0000
(15:51 +0000)
src/playlist/tree.c
patch
|
blob
|
history
diff --git
a/src/playlist/tree.c
b/src/playlist/tree.c
index
68b2228
..
27d94ad
100644
(file)
--- a/
src/playlist/tree.c
+++ b/
src/playlist/tree.c
@@
-152,8
+152,8
@@
int playlist_NodeDelete( playlist_t *p_playlist, playlist_item_t *p_root,
{
int i;
var_SetInteger( p_playlist, "item-deleted", p_root->i_id );
- ARRAY_BSEARCH( p_playlist->all_items, ->
p_input->
i_id, int,
- p_root->
p_input->
i_id, i );
+ ARRAY_BSEARCH( p_playlist->all_items, ->i_id, int,
+ p_root->i_id, i );
if( i != -1 )
ARRAY_REMOVE( p_playlist->all_items, i );