]> git.sesse.net Git - vlc/blobdiff - modules/access/cdda.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / access / cdda.c
index 8cee1b627d40084d457676159bb255b9e6cb28bf..f68074094628c08947e07a5850b09980a9d2bc39 100644 (file)
@@ -585,8 +585,7 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
 #undef ON_EMPTY
 #undef NONEMPTY
 
-    input_item_AddSubItemTree( p_root );
-    input_item_node_Delete( p_root );
+    input_item_node_PostAndDelete( p_root );
 
     /* */
     for( int i = 0; i < i_cd_text; i++ )