]> git.sesse.net Git - vlc/blobdiff - modules/access/mms/mmsh.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / access / mms / mmsh.c
index c689c2776989af966de134386165e1005398d204..d353f0cb4505d2844fc0fa5898474e74461096a4 100644 (file)
@@ -166,7 +166,7 @@ int MMSHOpen( access_t *p_access )
         /** \bug we do not autodelete here */
         p_new_loc = input_item_New( p_access, psz_location, psz_location );
         input_item_t *p_item = input_GetItem( p_input );
-        input_item_AddSubItem( p_item, p_new_loc );
+        input_item_PostSubItem( p_item, p_new_loc );
 
         vlc_gc_decref( p_new_loc );
         vlc_object_release( p_input );