Fixed coverity defects (CID 14657 and 14656).

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3597 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org 2013-03-04 14:59:31 +00:00
parent 73ec386d8a
commit 44f85a49d8

View File

@ -316,8 +316,8 @@ WebRtc_Word32 RTPReceiverAudio::ParseAudioCodecSpecific(
const WebRtc_UWord16 payload_length,
const ModuleRTPUtility::AudioPayload& audio_specific,
const bool is_red) {
WebRtc_UWord8 new_events[MAX_NUMBER_OF_PARALLEL_TELEPHONE_EVENTS];
WebRtc_UWord8 removed_events[MAX_NUMBER_OF_PARALLEL_TELEPHONE_EVENTS];
WebRtc_UWord8 new_events[MAX_NUMBER_OF_PARALLEL_TELEPHONE_EVENTS] = {};
WebRtc_UWord8 removed_events[MAX_NUMBER_OF_PARALLEL_TELEPHONE_EVENTS] = {};
WebRtc_UWord8 number_of_new_events = 0;
WebRtc_UWord8 number_of_removed_events = 0;