]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/b4s.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / demux / playlist / b4s.c
index ac33bc7debcf1b5a5ee4b963d9990632c9f43a30..d08814d96215e791eda153d2e582df8ddc4e46e6 100644 (file)
@@ -294,10 +294,7 @@ end:
     free( psz_elname );
 
     if( p_subitems )
-    {
-        input_item_AddSubItemTree( p_subitems );
-        input_item_node_Delete( p_subitems );
-    }
+        input_item_node_PostAndDelete( p_subitems );
 
     vlc_gc_decref( p_current_input );
     if( p_xml_reader )