Fix uninitialized variable error in Relase mode.
TBR=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/377007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1611 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
517e5e3846
commit
13e0345b35
@ -566,13 +566,13 @@ WebRtc_Word16 WebRtcIsac_Encode(
|
||||
float inFrame[FRAMESAMPLES_10ms];
|
||||
WebRtc_Word16 speechInLB[FRAMESAMPLES_10ms];
|
||||
WebRtc_Word16 speechInUB[FRAMESAMPLES_10ms];
|
||||
WebRtc_Word16 streamLenLB;
|
||||
WebRtc_Word16 streamLenUB;
|
||||
WebRtc_Word16 streamLen;
|
||||
WebRtc_Word16 k;
|
||||
WebRtc_Word16 streamLenLB = 0;
|
||||
WebRtc_Word16 streamLenUB = 0;
|
||||
WebRtc_Word16 streamLen = 0;
|
||||
WebRtc_Word16 k = 0;
|
||||
WebRtc_UWord8* ptrEncodedUW8 = (WebRtc_UWord8*)encoded;
|
||||
int garbageLen;
|
||||
WebRtc_Word32 bottleneck;
|
||||
int garbageLen = 0;
|
||||
WebRtc_Word32 bottleneck = 0;
|
||||
WebRtc_Word16 bottleneckIdx = 0;
|
||||
WebRtc_Word16 jitterInfo = 0;
|
||||
|
||||
@ -1638,7 +1638,7 @@ WebRtc_Word16 WebRtcIsac_DecodePlc(
|
||||
WebRtc_Word16* decoded,
|
||||
WebRtc_Word16 noOfLostFrames)
|
||||
{
|
||||
WebRtc_Word16 numSamples;
|
||||
WebRtc_Word16 numSamples = 0;
|
||||
ISACMainStruct* instISAC;
|
||||
|
||||
|
||||
|
@ -330,7 +330,7 @@ AudioCodingModuleImpl::Process()
|
||||
WebRtc_Word16 status;
|
||||
WebRtcACMEncodingType encodingType;
|
||||
FrameType frameType = kAudioFrameSpeech;
|
||||
WebRtc_UWord8 currentPayloadType;
|
||||
WebRtc_UWord8 currentPayloadType = 0;
|
||||
bool hasDataToSend = false;
|
||||
bool fecActive = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user