playlist: incrementing the input_id is already taken care of in input_ItemNewWithType()
authorRafaël Carré <funman@videolan.org>
Thu, 18 Oct 2007 01:03:22 +0000 (01:03 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 18 Oct 2007 01:03:22 +0000 (01:03 +0000)
src/playlist/tree.c

index 27d94ad..4b76f29 100644 (file)
@@ -59,7 +59,6 @@ playlist_item_t * playlist_NodeCreate( playlist_t *p_playlist,
     if( !psz_name ) psz_name = _("Undefined");
     p_input = input_ItemNewWithType( VLC_OBJECT(p_playlist), NULL, psz_name,
                                      0, NULL, -1, ITEM_TYPE_NODE );
-    p_input->i_id = ++p_playlist->i_last_input_id;
     p_item = playlist_ItemNewFromInput( VLC_OBJECT(p_playlist), p_input );
     p_item->i_children = 0;