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

Unified Diff: webrtc/modules/audio_coding/neteq/comfort_noise.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/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..13a1470ca8cb6a3d36d7a93b944f9c62c3d05ff4 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->payloadType) != 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/decision_logic.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698