Initialize 3 variables which are preventing VS2012 from building.

BUG=1211
TESTED=ninja -C out\Release
Review URL: https://webrtc-codereview.appspot.com/992005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3301 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
fbarchard@google.com
2012-12-15 01:09:18 +00:00
parent 4c32439830
commit 3c37354b70
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ int main(int argc, char* argv[])
{ {
char inname[100], outname[100], bottleneck_file[100], vadfile[100]; char inname[100], outname[100], bottleneck_file[100], vadfile[100];
FILE *inp, *outp, *f_bn=NULL, *vadp, *bandwidthp; FILE *inp, *outp, *f_bn = NULL, *vadp = NULL, *bandwidthp;
int framecnt, endfile; int framecnt, endfile;
int i, errtype, VADusage = 0, packetLossPercent = 0; int i, errtype, VADusage = 0, packetLossPercent = 0;
@@ -100,8 +100,8 @@ int main(int argc, char* argv[])
WebRtc_UWord32 numTransCodingBytes = 0; WebRtc_UWord32 numTransCodingBytes = 0;
/* only one structure used for ISAC encoder */ /* only one structure used for ISAC encoder */
ISACStruct* ISAC_main_inst; ISACStruct* ISAC_main_inst = NULL;
ISACStruct* decoderTransCoding; ISACStruct* decoderTransCoding = NULL;
BottleNeckModel BN_data; BottleNeckModel BN_data;

View File

@@ -68,7 +68,7 @@ int main() {
ForwardErrorCorrection::RecoveredPacketList recoveredPacketList; ForwardErrorCorrection::RecoveredPacketList recoveredPacketList;
std::list<WebRtc_UWord8*> fecMaskList; std::list<WebRtc_UWord8*> fecMaskList;
ForwardErrorCorrection::Packet* mediaPacket; ForwardErrorCorrection::Packet* mediaPacket = NULL;
// Running over only one loss rate to limit execution time. // Running over only one loss rate to limit execution time.
const float lossRate[] = {0.5f}; const float lossRate[] = {0.5f};
const WebRtc_UWord32 lossRateSize = sizeof(lossRate)/sizeof(*lossRate); const WebRtc_UWord32 lossRateSize = sizeof(lossRate)/sizeof(*lossRate);