]> git.sesse.net Git - vlc/blobdiff - modules/control/http/rpn.c
playlist_DeleteFromInput: pass the input item rather than its ID
[vlc] / modules / control / http / rpn.c
index 05c30cf4fec935c37eb780621302b20ed0549074..43e72c5dbdeef192adf1640425c5730294c84c6b 100644 (file)
@@ -875,7 +875,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t  *vars,
             if( p_item )
             {
                 playlist_DeleteFromInput( p_sys->p_playlist,
-                                          p_item->p_input->i_id, pl_Locked );
+                                          p_item->p_input, pl_Locked );
                 msg_Dbg( p_intf, "requested playlist delete: %d", i_id );
             }
             else