[vlc-commits] dvb: fix path to DVB-S scan lists

Rémi Denis-Courmont git at videolan.org
Tue Mar 6 20:17:36 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar  5 23:10:35 2018 +0200| [264108c58d52a80bb1a84059f6e2ab9b3e8b31bc] | committer: Rémi Denis-Courmont

dvb: fix path to DVB-S scan lists

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=264108c58d52a80bb1a84059f6e2ab9b3e8b31bc
---

 modules/access/dvb/linux_dvb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dvb/linux_dvb.c b/modules/access/dvb/linux_dvb.c
index 30d3566d13..580e44dac2 100644
--- a/modules/access/dvb/linux_dvb.c
+++ b/modules/access/dvb/linux_dvb.c
@@ -381,7 +381,7 @@ static int ScanParametersDvbS( vlc_object_t *p_access, dvb_sys_t *p_sys, scan_pa
     char *psz_name = var_InheritString( p_access, "dvb-satellite" );
     if( psz_name )
     {
-        char *data_dir = config_GetSysPath(VLC_PKG_DATA_DIR, "dvb/dvb-s");
+        char *data_dir = config_GetSysPath(VLC_SYSDATA_DIR, "dvb/dvb-s");
         if( !data_dir || -1 ==  asprintf( &p_scan->psz_scanlist_file,
             "%s/%s", data_dir, psz_name ) )
         {



More information about the vlc-commits mailing list