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

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

Issue 2411183003: Removed RTPHeader from NetEq's Packet struct. (Closed)
Patch Set: 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..47864bc46b3e9de1573629ee96b57a71646242cf 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->payloadType);
}
void TimestampScaler::ToInternal(PacketList* packet_list) {

Powered by Google App Engine
This is Rietveld 408576698