[vlc-devel] commit: ASX parser: kill config_Get ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 30 20:52:22 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 21:45:43 2009 +0200| [c5607028ee3cba57381ca6ed663b769cbe3f077f] | committer: Rémi Denis-Courmont 

ASX parser: kill config_Get

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

 modules/demux/playlist/asx.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c
index 2c3736f..d154de1 100644
--- a/modules/demux/playlist/asx.c
+++ b/modules/demux/playlist/asx.c
@@ -210,7 +210,8 @@ int Import_ASX( vlc_object_t *p_this )
     p_demux->p_sys->psz_data = NULL;
     p_demux->p_sys->i_data_len = -1;
     p_demux->p_sys->b_utf8 = false;
-    p_demux->p_sys->b_skip_ads = config_GetInt( p_demux, "playlist-skip-ads" );
+    p_demux->p_sys->b_skip_ads =
+        var_InheritInteger( p_demux, "playlist-skip-ads" );
 
     return VLC_SUCCESS;
 }




More information about the vlc-devel mailing list