* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <stdarg.h>
-#include <libvlc_internal.h>
+#include "libvlc_internal.h"
#include <vlc/libvlc.h>
-#include <vlc/intf.h>
+#include <vlc_interface.h>
/*************************************************************************
* Exceptions handling
}
inline void libvlc_exception_raise( libvlc_exception_t *p_exception,
- char *psz_format, ... )
+ const char *psz_format, ... )
{
va_list args;
libvlc_exception_t *p_e )
{
libvlc_instance_t *p_new;
- int i_index;
- char** ppsz_argv = NULL;
libvlc_int_t *p_libvlc_int = libvlc_InternalCreate();
if( !p_libvlc_int ) RAISENULL( "VLC initialization failed" );
/** \todo Look for interface settings. If we don't have any, add -I dummy */
/* Because we probably don't want a GUI by default */
- if( libvlc_InternalInit( p_libvlc_int, argc, ppsz_argv ) )
+ if( libvlc_InternalInit( p_libvlc_int, argc, argv ) )
RAISENULL( "VLC initialization failed" );
p_new->p_libvlc_int = p_libvlc_int;