]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/m3u.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / demux / playlist / m3u.c
index acafc3eeb8de107fd80548343b72b05f8078d8cb..9320a6b11ebb152318fd081190a269017d37bcde 100644 (file)
@@ -254,8 +254,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 */