]> git.sesse.net Git - vlc/blobdiff - src/interface/interface.c
Unexport var_OptionParse
[vlc] / src / interface / interface.c
index 26441eaf64bab32b98596bc873b2b2549edb116a..f8451c62ddcca7a3433457a6ef6d41b8e4b5db32 100644 (file)
@@ -44,6 +44,7 @@
 
 #include "vlc_interface.h"
 #include "modules/modules.h" // Gruik!
+#include "libvlc.h"
 
 /*****************************************************************************
  * Local prototypes
@@ -92,9 +93,7 @@ intf_thread_t* __intf_Create( vlc_object_t *p_this, const char *psz_module,
     p_intf->b_should_run_on_first_thread = VLC_FALSE;
 
     for( i = 0 ; i< i_options; i++ )
-    {
-        var_OptionParse( p_intf, ppsz_options[i] );
-    }
+        var_OptionParse( p_this, ppsz_options[i] );
 
     /* Choose the best module */
     p_intf->psz_intf = strdup( psz_module );