Rename rtpDumpPktHdr_t to RtpDumpPacketHeader.
_t names are reserved in POSIX. BUG=162 R=asapersson@webrtc.org Review URL: https://webrtc-codereview.appspot.com/34519004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7945 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a9cf079248
commit
dd8f6f3d48
@ -55,7 +55,7 @@ typedef struct
|
|||||||
uint16_t plen;
|
uint16_t plen;
|
||||||
// Milliseconds since the start of recording.
|
// Milliseconds since the start of recording.
|
||||||
uint32_t offset;
|
uint32_t offset;
|
||||||
} rtpDumpPktHdr_t;
|
} RtpDumpPacketHeader;
|
||||||
|
|
||||||
RtpDump* RtpDump::CreateRtpDump()
|
RtpDump* RtpDump::CreateRtpDump()
|
||||||
{
|
{
|
||||||
@ -159,7 +159,7 @@ int32_t RtpDumpImpl::DumpPacket(const uint8_t* packet, size_t packetLength)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
rtpDumpPktHdr_t hdr;
|
RtpDumpPacketHeader hdr;
|
||||||
size_t total_size = packetLength + sizeof hdr;
|
size_t total_size = packetLength + sizeof hdr;
|
||||||
if (packetLength < 1 || total_size > std::numeric_limits<uint16_t>::max())
|
if (packetLength < 1 || total_size > std::numeric_limits<uint16_t>::max())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user