]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/wpl.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / demux / playlist / wpl.c
index 71209cb15b309eab40ac66ca261a3c4c24bf59ad..a73af682779f62058e56ce8331f81afe7b661e26 100644 (file)
@@ -112,8 +112,7 @@ static int Demux( demux_t *p_demux )
 
     }
 
-    input_item_AddSubItemTree( p_subitems );
-    input_item_node_Delete( p_subitems );
+    input_item_node_PostAndDelete( p_subitems );
 
     vlc_gc_decref(p_current_input);
     var_Destroy( p_demux, "wpl-extvlcopt" );