]> git.sesse.net Git - vlc/blobdiff - modules/audio_filter/converter/dtstofloat32.c
Fix assertions. (dts-dynrng and spdif are boolean parameters)
[vlc] / modules / audio_filter / converter / dtstofloat32.c
index 6d1ffa04b0b52a85f61cae54ad3e940ba7016934..98c5fa02597bbd602174e097169389b492fbc518 100644 (file)
@@ -96,7 +96,7 @@ 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 = var_InheritInteger( p_this, "dts-dynrng" );
+    p_sys->b_dynrng = var_InheritBool( p_this, "dts-dynrng" );
     p_sys->b_dontwarn = 0;
 
     /* We'll do our own downmixing, thanks. */