Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: webrtc/modules/audio_coding/neteq/timestamp_scaler.cc

Issue 2411183003: Removed RTPHeader from NetEq's Packet struct. (Closed)
Patch Set: Fixed naming of payloadType and sequenceNumber. Updated comments. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/neteq/timestamp_scaler.cc
diff --git a/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc b/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc
index b7eeb4be3a28221d8b46a7c98d70505e3c51abfe..cdc30a79e812013819c6acdc7ddc871d7ec1771a 100644
--- a/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc
+++ b/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc
@@ -23,8 +23,7 @@ void TimestampScaler::ToInternal(Packet* packet) {
if (!packet) {
return;
}
- packet->header.timestamp = ToInternal(packet->header.timestamp,
- packet->header.payloadType);
+ packet->timestamp = ToInternal(packet->timestamp, packet->payload_type);
}
void TimestampScaler::ToInternal(PacketList* packet_list) {

Powered by Google App Engine
This is Rietveld 408576698