]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/xspf.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / demux / playlist / xspf.c
index 1933c117276a5b093d4f08b0e6591618fbf19c93..c24e0dab6120fa90254111b8ed570b24d2040ab7 100644 (file)
@@ -133,8 +133,7 @@ int Demux( demux_t *p_demux )
         }
     }
 
-    input_item_AddSubItemTree( p_subitems );
-    input_item_node_Delete( p_subitems );
+    input_item_node_PostAndDelete( p_subitems );
 
 end:
     vlc_gc_decref(p_current_input);