[vlc-devel] commit: SVCD sub: 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:26:55 2009 +0200| [46db660c083e6429015c6839e9eb91d05a04e030] | committer: Rémi Denis-Courmont 

SVCD sub: kill config_Get

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

 modules/codec/svcdsub.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/svcdsub.c b/modules/codec/svcdsub.c
index d170f28..78dcd3c 100644
--- a/modules/codec/svcdsub.c
+++ b/modules/codec/svcdsub.c
@@ -149,9 +149,9 @@ static int DecoderOpen( vlc_object_t *p_this )
     if( p_sys == NULL )
         return VLC_ENOMEM;
 
-    p_sys->i_debug       = config_GetInt( p_this, MODULE_STRING "-debug" );
+    p_sys->i_debug = var_InheritInteger( p_this, MODULE_STRING "-debug" );
 
-    p_sys->i_image       = -1;
+    p_sys->i_image = -1;
 
     p_sys->i_state = SUBTITLE_BLOCK_EMPTY;
     p_sys->p_spu   = NULL;




More information about the vlc-devel mailing list