]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/ram.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / demux / playlist / ram.c
index 0c6149f0e5b2d2426071cbfbd16878e03868b920..d2cb5b229444f618a7740a60c65a48df72ef09a1 100644 (file)
@@ -360,8 +360,7 @@ static int Demux( demux_t *p_demux )
             b_cleanup = false;
         }
     }
-    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, "m3u-extvlcopt" );
     return 0; /* Needed for correct operation of go back */