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

Unified Diff: webrtc/modules/audio_coding/acm2/acm_receiver.cc

Issue 2355503002: Stopped using the NetEqDecoder enum internally in NetEq. (Closed)
Patch Set: Clarified comments. Created 4 years, 3 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
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/acm2/rent_a_codec.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/acm2/acm_receiver.cc
diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.cc b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
index afd1ff44f6dee3dbe4c98340310d83af6a019b81..89eee00fc37edc10d715f1720ff193688d863b8d 100644
--- a/webrtc/modules/audio_coding/acm2/acm_receiver.cc
+++ b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
@@ -202,8 +202,7 @@ int32_t AcmReceiver::AddCodec(int acm_codec_id,
rtc::CritScope lock(&crit_sect_);
- const SdpAudioFormat* const old_format =
- neteq_->GetDecoderFormat(payload_type);
+ const auto old_format = neteq_->GetDecoderFormat(payload_type);
if (old_format && new_format && *old_format == *new_format) {
// Re-registering the same codec. Do nothing and return.
return 0;
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/acm2/rent_a_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698