Fix some voe_auto_test uninitialised-value errors.

BUG=
R=tommi@webrtc.org, xians@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4332 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org 2013-07-11 15:50:07 +00:00
parent ffe16bdae9
commit 5b10d8fb18
2 changed files with 2 additions and 1 deletions

View File

@ -3130,7 +3130,7 @@ Channel::SetSendTelephoneEventPayloadType(unsigned char type)
"SetSendTelephoneEventPayloadType() invalid type");
return -1;
}
CodecInst codec;
CodecInst codec = {};
codec.plfreq = 8000;
codec.pltype = type;
memcpy(codec.plname, "telephone-event", 16);

View File

@ -14,6 +14,7 @@
class FakeMediaProcess : public webrtc::VoEMediaProcess {
public:
FakeMediaProcess() : frequency(0) {}
virtual void Process(int channel,
const webrtc::ProcessingTypes type,
int16_t audio_10ms[],