]> git.sesse.net Git - vlc/blobdiff - src/libvlc-common.c
Remove splice support - it does not quite help for UDP & DCCP
[vlc] / src / libvlc-common.c
index e882f768feb9679f6d429a7e0339a23be8bfa6f2..235b11acf755d3ac7c69675481372713d4de3903 100644 (file)
@@ -709,16 +709,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
      */
     p_libvlc->p_memcpy_module = module_Need( p_libvlc, "memcpy", "$memcpy", 0 );
 
-    if( p_libvlc->pf_memcpy == NULL )
-    {
-        p_libvlc->pf_memcpy = memcpy;
-    }
-
-    if( p_libvlc->pf_memset == NULL )
-    {
-        p_libvlc->pf_memset = memset;
-    }
-
     p_libvlc->b_stats = config_GetInt( p_libvlc, "stats" ) > 0;
     p_libvlc->i_timers = 0;
     p_libvlc->pp_timers = NULL;
@@ -836,7 +826,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
     if( config_GetInt( p_libvlc, "one-instance" ) > 0 )
         VLC_AddIntf( 0, "dbus,none", false, false );
 
-    /* Prevents the power management daemon to suspend the computer
+    /* Prevents the power management daemon from suspending the system
      * when VLC is active */
     if( config_GetInt( p_libvlc, "inhibit" ) > 0 )
         VLC_AddIntf( 0, "inhibit,none", false, false );
@@ -1225,7 +1215,7 @@ static inline int LoadMessages (void)
 #else
     char psz_path[1024];
     if (snprintf (psz_path, sizeof (psz_path), "%s/%s",
-                  p_libvlc_global->psz_vlcpath, "locale")
+                  vlc_global()->psz_vlcpath, "locale")
                      >= (int)sizeof (psz_path))
         return -1;