if( libvlc_exception_raised( &ex ) )
{
free( retval );
- RAISE( mediacontrol_InternalException,
- libvlc_exception_get_message( &ex ) );
+ RAISE( mediacontrol_InternalException, libvlc_errmsg( ) );
libvlc_exception_clear( &ex );
return NULL;
}
if( libvlc_exception_raised( &ex ) )
{
free( retval );
- RAISE( mediacontrol_InternalException,
- libvlc_exception_get_message( &ex ) );
+ RAISE( mediacontrol_InternalException, libvlc_errmsg() );
libvlc_exception_clear( &ex );
return NULL;
}