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

git version control git at videolan.org
Wed Dec 30 19:39:44 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 20:26:10 2009 +0200| [ff717d877865c1452eff341a2a810fc20b6ac196] | committer: Rémi Denis-Courmont 

liba52: kill config_Get

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

 modules/audio_filter/converter/a52tofloat32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_filter/converter/a52tofloat32.c b/modules/audio_filter/converter/a52tofloat32.c
index d2342d7..5545ca2 100644
--- a/modules/audio_filter/converter/a52tofloat32.c
+++ b/modules/audio_filter/converter/a52tofloat32.c
@@ -107,14 +107,14 @@ vlc_module_end ()
 static int Open( vlc_object_t *p_this, filter_sys_t *p_sys,
                  audio_format_t input, audio_format_t output )
 {
-    p_sys->b_dynrng = config_GetInt( p_this, "a52-dynrng" );
+    p_sys->b_dynrng = var_InheritInteger( p_this, "a52-dynrng" );
     p_sys->b_dontwarn = 0;
 
     /* No upmixing: it's not necessary and some other filters may want to do
      * it themselves. */
     if ( aout_FormatNbChannels( &output ) > aout_FormatNbChannels( &input ) )
     {
-        if ( ! config_GetInt( p_this, "a52-upmix" ) )
+        if ( ! var_InheritInteger( p_this, "a52-upmix" ) )
         {
             return VLC_EGENERIC;
         }




More information about the vlc-devel mailing list