Fix for issue 253

Initializing a few arrays to avoid compiler warnings under
the O3 flag.

BUG=http://code.google.com/p/webrtc/issues/detail?id=253

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1595 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org
2012-02-03 09:46:01 +00:00
parent fdf21c8c55
commit 82e1c8d0e7

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -249,9 +249,9 @@ int main(int argc, char* argv[])
WebRtc_UWord16 length, plen;
WebRtc_UWord32 offset;
double sendtime = 0;
int red_PT[2];
WebRtc_UWord32 red_TS[2];
WebRtc_UWord16 red_len[2];
int red_PT[2] = {0};
WebRtc_UWord32 red_TS[2] = {0};
WebRtc_UWord16 red_len[2] = {0};
int RTPheaderLen=12;
unsigned char red_data[8000];
#ifdef INSERT_OLD_PACKETS