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

Unified Diff: webrtc/modules/audio_coding/neteq/comfort_noise.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/comfort_noise.cc
diff --git a/webrtc/modules/audio_coding/neteq/comfort_noise.cc b/webrtc/modules/audio_coding/neteq/comfort_noise.cc
index a57ced1885d405e28f4b652361bac8bf5c9638ce..504a0bcd4ca40029b9166a57ec1343e3a7f34b3f 100644
--- a/webrtc/modules/audio_coding/neteq/comfort_noise.cc
+++ b/webrtc/modules/audio_coding/neteq/comfort_noise.cc
@@ -27,8 +27,7 @@ void ComfortNoise::Reset() {
int ComfortNoise::UpdateParameters(Packet* packet) {
assert(packet); // Existence is verified by caller.
// Get comfort noise decoder.
- if (decoder_database_->SetActiveCngDecoder(packet->header.payloadType)
- != kOK) {
+ if (decoder_database_->SetActiveCngDecoder(packet->payload_type) != kOK) {
delete packet;
return kUnknownPayloadType;
}
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/decision_logic.h » ('j') | webrtc/modules/audio_coding/neteq/packet_buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698