[vlc-commits] libvlc: use var_InheritString()
Rémi Denis-Courmont
git at videolan.org
Thu May 31 21:03:46 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 31 22:02:46 2018 +0300| [26f6332745d1972139c3beeb87512e7001339c9d] | committer: Rémi Denis-Courmont
libvlc: use var_InheritString()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26f6332745d1972139c3beeb87512e7001339c9d
---
src/libvlc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 99073da504..cbb4cd5a65 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -271,8 +271,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/*
* Load background interfaces
*/
- psz_modules = var_CreateGetNonEmptyString( p_libvlc, "extraintf" );
- psz_control = var_CreateGetNonEmptyString( p_libvlc, "control" );
+ psz_modules = var_InheritString( p_libvlc, "extraintf" );
+ psz_control = var_InheritString( p_libvlc, "control" );
if( psz_modules && psz_control )
{
More information about the vlc-commits
mailing list