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:
parent
ffe16bdae9
commit
5b10d8fb18
@ -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);
|
||||
|
@ -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[],
|
||||
|
Loading…
x
Reference in New Issue
Block a user