[vlc-commits] soxr: Fix variable shadowing

Hugo Beauzée-Luyssen git at videolan.org
Tue Jul 31 14:12:59 CEST 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jul 31 14:10:32 2018 +0200| [35dc84cca41bbba42363569fea65757824310e5e] | committer: Hugo Beauzée-Luyssen

soxr: Fix variable shadowing

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

 modules/audio_filter/resampler/soxr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_filter/resampler/soxr.c b/modules/audio_filter/resampler/soxr.c
index 4d9254ebef..06b5ab6096 100644
--- a/modules/audio_filter/resampler/soxr.c
+++ b/modules/audio_filter/resampler/soxr.c
@@ -167,7 +167,7 @@ Open( vlc_object_t *p_obj, bool b_change_ratio )
      * up a delay).  */
     if( b_change_ratio )
     {
-        soxr_quality_spec_t q_spec = soxr_quality_spec( SOXR_LQ, SOXR_VR );
+        q_spec = soxr_quality_spec( SOXR_LQ, SOXR_VR );
         p_sys->vr_soxr = soxr_create( 1, f_ratio, i_channels,
                                       &error, &io_spec, &q_spec, NULL );
         if( error )



More information about the vlc-commits mailing list