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

Remove white spaces

parent de0b7399
...@@ -70,12 +70,12 @@ mediacontrol_Instance* mediacontrol_new( int argc, char** argv, mediacontrol_Exc ...@@ -70,12 +70,12 @@ mediacontrol_Instance* mediacontrol_new( int argc, char** argv, mediacontrol_Exc
ppsz_argv = malloc( ( argc + 2 ) * sizeof( char * ) ) ; ppsz_argv = malloc( ( argc + 2 ) * sizeof( char * ) ) ;
if( ! ppsz_argv ) if( ! ppsz_argv )
RAISE_NULL( mediacontrol_InternalException, "Out of memory" ); RAISE_NULL( mediacontrol_InternalException, "Out of memory" );
ppsz_argv[0] = strdup("vlc"); ppsz_argv[0] = strdup("vlc");
for ( i_index = 0; i_index < argc; i_index++ ) for ( i_index = 0; i_index < argc; i_index++ )
ppsz_argv[i_index + 1] = argv[i_index]; ppsz_argv[i_index + 1] = argv[i_index];
ppsz_argv[argc + 1] = NULL; ppsz_argv[argc + 1] = NULL;
retval->p_instance = libvlc_new( argc + 1, ppsz_argv, &ex ); retval->p_instance = libvlc_new( argc + 1, ppsz_argv, &ex );
retval->p_playlist = retval->p_instance->p_libvlc_int->p_playlist; retval->p_playlist = retval->p_instance->p_libvlc_int->p_playlist;
HANDLE_LIBVLC_EXCEPTION_NULL( &ex ); HANDLE_LIBVLC_EXCEPTION_NULL( &ex );
......
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