6b7bf16f8a08 — Chris Cannam 11 days ago
Fix silly compile error
1 files changed, 2 insertions(+), 1 deletions(-)

M src/dsp/Resampler.cpp
M src/dsp/Resampler.cpp +2 -1
@@ 634,9 634,10 @@ D_SRC::resample(const float *const R__ *
 
     data.src_ratio = ratio;
 
+    int err = 0;
+
 #ifdef PERFORM_LIBSAMPLERATE_XFADE
     const int xfade = 10;
-    int err = 0;
     if (ratio != m_lastRatio && outcount > xfade) {
         int xin = lrintf(ceilf(xfade / ratio));
         SRC_STATE *xsrc = src_clone(m_src, &err);