Index: webrtc/modules/audio_coding/main/test/PCMFile.cc |
diff --git a/webrtc/modules/audio_coding/main/test/PCMFile.cc b/webrtc/modules/audio_coding/main/test/PCMFile.cc |
index 4f46098a7bd837237f837bcda38cfd6586eebf3a..4b08f753cd6b8def0e93e9fad036c85798a011a7 100644 |
--- a/webrtc/modules/audio_coding/main/test/PCMFile.cc |
+++ b/webrtc/modules/audio_coding/main/test/PCMFile.cc |
@@ -150,8 +150,7 @@ void PCMFile::Write10MsData(AudioFrame& audio_frame) { |
} |
} else { |
int16_t* stereo_audio = new int16_t[2 * audio_frame.samples_per_channel_]; |
- int k; |
- for (k = 0; k < audio_frame.samples_per_channel_; k++) { |
+ for (int k = 0; k < audio_frame.samples_per_channel_; k++) { |
stereo_audio[k << 1] = audio_frame.data_[k]; |
stereo_audio[(k << 1) + 1] = audio_frame.data_[k]; |
} |