vlc_object_attach( p_sys->p_thread, p_access );
/* Parse URI - remove spaces */
- p = psz = strdup( p_access->psz_path );
+ p = psz = strdup( p_access->psz_location );
while( (p = strchr( p, ' ' )) != NULL )
*p = '+';
vlc_UrlParse( &p_sys->p_thread->url, psz, 0 );
error:
vlc_UrlClean( &p_sys->p_thread->url );
- vlc_object_detach( p_sys->p_thread );
vlc_object_release( p_sys->p_thread );
free( p_sys );
free( p_sys->p_thread->psz_swf_url );
free( p_sys->p_thread->psz_page_url );
- vlc_object_detach( p_sys->p_thread );
vlc_object_release( p_sys->p_thread );
free( p_sys );
}