Remove more dependencies on openssl, add dependency on boringssl. Continues on r6798

R=andrew@webrtc.org, fbarchard@chromium.org, kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6867 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org
2014-08-11 21:06:30 +00:00
parent 820f8e9ca7
commit 6ac22e6b47
27 changed files with 92 additions and 104 deletions

View File

@ -234,10 +234,10 @@ uint16_t RTPFile::Read(WebRtcRTPHeader* rtpInfo, uint8_t* payloadData,
return 0;
}
if (payloadSize < (lengthBytes - 20)) {
return -1;
return 0;
}
if (lengthBytes < 20) {
return -1;
return 0;
}
lengthBytes -= 20;
EXPECT_EQ(lengthBytes, fread(payloadData, 1, lengthBytes, _rtpFile));