X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Finterface%2Finterface.c;fp=src%2Finterface%2Finterface.c;h=d2fb15426e7c2841b96743c26bc0498e5c389bf8;hb=e509d7f86267a8f42076e70d42cb92b44fc2e338;hp=c8c97a71c6e3bf4652aee25ce49cb7cca26e1495;hpb=c047aa40ae206d1af4ec7f88d511e27d141db759;p=vlc diff --git a/src/interface/interface.c b/src/interface/interface.c index c8c97a71c6..d2fb15426e 100644 --- a/src/interface/interface.c +++ b/src/interface/interface.c @@ -241,7 +241,7 @@ static int AddIntfCallback( vlc_object_t *p_this, char const *psz_cmd, if( asprintf( &psz_intf, "%s,none", newval.psz_string ) == -1 ) return VLC_ENOMEM; - int ret = intf_Create( p_this->p_libvlc, psz_intf ); + int ret = intf_Create( VLC_OBJECT(p_this->p_libvlc), psz_intf ); free( psz_intf ); if( ret ) msg_Err( p_this, "interface \"%s\" initialization failed",