]> git.sesse.net Git - vlc/commitdiff
liba52: kill config_Get
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 18:26:10 +0000 (20:26 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 30 Dec 2009 18:39:36 +0000 (20:39 +0200)
modules/audio_filter/converter/a52tofloat32.c

index d2342d7a2ab128c8af09d28c11f19d3f09a2f624..5545ca2e2bacc5cf796cab14cb291f027051f27c 100644 (file)
@@ -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;
         }