#ifndef _LIBVLC_MEDIA_LIST_PATH_H
#define _LIBVLC_MEDIA_LIST_PATH_H 1
-/**************************************************************************
- * Definition (Media List Player Internal)
- **************************************************************************/
-typedef int * media_list_path_t;
-
-
/**************************************************************************
* path_empty (Media List Player Internal)
**************************************************************************/
p_current_mlist = libvlc_media_descriptor_subitems( p_md, NULL );
libvlc_media_descriptor_release( p_md );
-
+
if( !p_current_mlist )
return NULL;
/* Not found, shouldn't happen if the p_path is not empty */
if( p_current_mlist != p_mlist )
libvlc_media_list_release( p_current_mlist );
- return NULL;
+ return NULL;
}
/**************************************************************************
p_current_mlist = libvlc_media_descriptor_subitems( p_md, NULL );
libvlc_media_descriptor_release( p_md );
-
+
if( !p_current_mlist )
return NULL;
/* Not found, shouldn't happen if the p_path is not empty */
if( p_current_mlist != p_mlist )
libvlc_media_list_release( p_current_mlist );
- return NULL;
+ return NULL;
}
/**************************************************************************
libvlc_media_descriptor_t * p_md = libvlc_media_list_item_at_path( p_mlist, path );
if( !p_md )
return NULL;
-
+
ret = libvlc_media_descriptor_subitems( p_md, NULL );
libvlc_media_descriptor_release( p_md );
-
- return ret;
+
+ return ret;
}
#endif