Fixes Valgrind warnings in the default VCM tests.

BUG=
TEST=

Review URL: http://webrtc-codereview.appspot.com/299010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1120 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org
2011-12-07 11:48:09 +00:00
parent bf86c33b0e
commit b3bd1cd5f1
5 changed files with 8 additions and 4 deletions

View File

@@ -580,6 +580,7 @@ VCMEncComplete_KeyReqTest::SendData(
{
WebRtcRTPHeader rtpInfo;
rtpInfo.header.markerBit = true; // end of frame
rtpInfo.type.Video.codecHeader.VP8.InitRTPVideoHeaderVP8();
rtpInfo.type.Video.codec = kRTPVideoVP8;
rtpInfo.header.payloadType = payloadType;
rtpInfo.header.sequenceNumber = _seqNo;