Removed unnecessary variable to avoid compiler error on Win.
Review URL: http://webrtc-codereview.appspot.com/267021 git-svn-id: http://webrtc.googlecode.com/svn/trunk@975 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -61,10 +61,7 @@ static void MeanEstimatorFloat(float new_value,
|
||||
float* mean_value) {
|
||||
assert(scale < 1.0f);
|
||||
// mean_new = mean_value + ((new_value - mean_value) * scale);
|
||||
float diff = (new_value - *mean_value) * scale;
|
||||
float mean_new = *mean_value + diff;
|
||||
|
||||
*mean_value = mean_new;
|
||||
*mean_value += (new_value - *mean_value) * scale;
|
||||
}
|
||||
|
||||
// Computes the binary spectrum by comparing the input |spectrum| with a
|
||||
|
||||
Reference in New Issue
Block a user