Clean up in module_common_types.h by removing the unused struct RTPAudioHeader.
By removing it we can in turn (next CL) get rid of RTPTypeHeader, which is a union that cause some problems. Bug: none Change-Id: I9246ecbfe2c8b7eda27497cccbc5f438958b64bf Reviewed-on: https://webrtc-review.googlesource.com/83985 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23666}
This commit is contained in:
@ -222,8 +222,6 @@ size_t RTPFile::Read(WebRtcRTPHeader* rtpInfo,
|
||||
|
||||
EXPECT_EQ(1u, fread(rtpHeader, 12, 1, _rtpFile));
|
||||
ParseRTPHeader(rtpInfo, rtpHeader);
|
||||
rtpInfo->type.Audio.isCNG = false;
|
||||
rtpInfo->type.Audio.channel = 1;
|
||||
EXPECT_EQ(lengthBytes, plen + 8);
|
||||
|
||||
if (plen == 0) {
|
||||
|
||||
Reference in New Issue
Block a user