]> git.sesse.net Git - vlc/blobdiff - modules/access_filter/dump.c
Remove libvlc->psz_homedir and use config_GetHomeDir() instead
[vlc] / modules / access_filter / dump.c
index b914b1a6cb84f8454b4b13c60ce3ca5aa384b47e..8760ca91ef82794b37e2ead5d0e1c922cbe2837c 100644 (file)
@@ -267,7 +267,7 @@ static void Trigger (access_t *access)
         // and there is an off-by-one in the following sprintf().
         return;
 
-    const char *home = access->p_libvlc->psz_homedir;
+    const char *home = config_GetHomeDir();
 
     /* Hmm what about the extension?? */
     char filename[strlen (home) + sizeof ("/vlcdump-YYYYYYYYY-MM-DD-HH-MM-SS.ts")];