Fix an unitialized variable warning.

R=andrew@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/35819004

Patch from Sebastien Marchand <sebmarchand@chromium.org>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@8118 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2015-01-21 22:05:12 +00:00
parent c429b824b3
commit e65d9d974c

View File

@ -321,7 +321,7 @@ int32_t WebRtcAec_BufferFarend(void* aecInst,
while (WebRtc_available_read(aecpc->far_pre_buf) >= PART_LEN2) {
// We have enough data to pass to the FFT, hence read PART_LEN2 samples.
{
float* ptmp;
float* ptmp = NULL;
float tmp[PART_LEN2];
WebRtc_ReadBuffer(aecpc->far_pre_buf, (void**)&ptmp, tmp, PART_LEN2);
WebRtcAec_BufferFarendPartition(aecpc->aec, ptmp);