Commit 3e6f6869 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

playlist: constify playlist_ItemGetByInput()

parent 4212a60e
......@@ -350,7 +350,9 @@ VLC_API int playlist_NodeAddCopy( playlist_t *, playlist_item_t *, playlist_item
/********************************** Item search *************************/
VLC_API playlist_item_t * playlist_ItemGetById(playlist_t *, int ) VLC_USED;
VLC_API playlist_item_t * playlist_ItemGetByInput(playlist_t *,input_item_t * ) VLC_USED;
VLC_API playlist_item_t *playlist_ItemGetByInput(playlist_t *,
const input_item_t * )
VLC_USED;
VLC_API int playlist_LiveSearchUpdate(playlist_t *, playlist_item_t *, const char *, bool );
......
......@@ -60,7 +60,7 @@ playlist_item_t* playlist_ItemGetById( playlist_t * p_playlist , int i_id )
* @return the item, or NULL on failure
*/
playlist_item_t* playlist_ItemGetByInput( playlist_t * p_playlist,
input_item_t *p_item )
const input_item_t *p_item )
{
int i;
PL_ASSERT_LOCKED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment