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:
philipel
2018-06-19 16:18:31 +02:00
committed by Commit Bot
parent 7e9a619599
commit 0a5fe77d23
17 changed files with 3 additions and 109 deletions

View File

@ -199,7 +199,6 @@ void AcmReceiveTestOldApi::Run() {
WebRtcRTPHeader header;
header.header = packet->header();
header.frameType = kAudioFrameSpeech;
memset(&header.type.Audio, 0, sizeof(RTPAudioHeader));
EXPECT_EQ(0,
acm_->IncomingPacket(
packet->payload(),