}
#endif
- vlc_global( p_this )->psz_vlcpath = strdup( psz_path );
+ vlc_global()->psz_vlcpath = strdup( psz_path );
/* Set the default file-translation mode */
#if !defined( UNDER_CE )
*****************************************************************************/
void system_End( libvlc_int_t *p_this )
{
- if( p_this && p_this->p_libvlc_global && vlc_global( p_this )->psz_vlcpath )
+ if( p_this && vlc_global() )
{
- free( vlc_global( p_this )->psz_vlcpath );
- vlc_global( p_this )->psz_vlcpath = NULL;
+ free( vlc_global()->psz_vlcpath );
+ vlc_global()->psz_vlcpath = NULL;
}
WSACleanup();