replaygain: Remove dead assignment
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 4 Jul 2015 02:34:57 +0000 (12:34 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 4 Jul 2015 02:36:28 +0000 (12:36 +1000)
Patch-from: lvqcl <lvqcl.mail@gmail.com>

src/share/replaygain_analysis/replaygain_analysis.c

index 9c0528b..7611cf9 100644 (file)
@@ -359,7 +359,6 @@ ResetSampleFrequency ( long samplefreq ) {
     if ( ! replaygainfilter)
         return INIT_GAIN_ANALYSIS_ERROR;
 
-    sampleWindow = (int) ceil ((double)samplefreq * (double)RMS_WINDOW_TIME / 1000.0);
     sampleWindow =
         (replaygainfilter->rate * RMS_WINDOW_TIME + 1000-1) / 1000;