* \param p_ml a media list instance
* \param p_md a media instance
* \param i_pos position in array where to insert
- * \return 0 on success, -1 if the media list si read-only
+ * \return 0 on success, -1 if the media list is read-only
*/
LIBVLC_API int
libvlc_media_list_insert_media( libvlc_media_list_t *p_ml,
* The libvlc_media_list_lock should be held upon entering this function.
*
* \param p_ml a media list instance
- * \param p_md media list instance
- * \return position of media instance
+ * \param p_md media instance
+ * \return position of media instance or -1 if media not found
*/
LIBVLC_API int
libvlc_media_list_index_of_item( libvlc_media_list_t *p_ml,
* This indicates if this media list is read-only from a user point of view
*
* \param p_ml media list instance
- * \return 0 on readonly, 1 on readwrite
+ * \return 1 on readonly, 0 on readwrite
+ *
+ * \libvlc_return_bool
*/
LIBVLC_API int
libvlc_media_list_is_readonly( libvlc_media_list_t * p_ml );