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:
pbos@webrtc.org 2014-12-18 09:18:42 +00:00
parent a9cf079248
commit dd8f6f3d48

View File

@ -55,7 +55,7 @@ typedef struct
uint16_t plen;
// Milliseconds since the start of recording.
uint32_t offset;
} rtpDumpPktHdr_t;
} RtpDumpPacketHeader;
RtpDump* RtpDump::CreateRtpDump()
{
@ -159,7 +159,7 @@ int32_t RtpDumpImpl::DumpPacket(const uint8_t* packet, size_t packetLength)
return -1;
}
rtpDumpPktHdr_t hdr;
RtpDumpPacketHeader hdr;
size_t total_size = packetLength + sizeof hdr;
if (packetLength < 1 || total_size > std::numeric_limits<uint16_t>::max())
{