aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_coding/codecs
diff options
context:
space:
mode:
authorkwiberg <kwiberg@webrtc.org>2015-08-27 11:17:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-27 18:17:40 +0000
commita567bf329239480529835ccb34a6d9cc8cbbf715 (patch)
treebf3b7137fe384526cd6a0612915b62a8cc357149 /webrtc/modules/audio_coding/codecs
parent31545685c7ecd8e4cb5f6762904f1f09ff231468 (diff)
downloadwebrtc-a567bf329239480529835ccb34a6d9cc8cbbf715.tar.gz
Rename local variable to avoid shadowing
See comment here: https://codereview.webrtc.org/1208993010/diff/180001/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h#newcode189 TBR=minyue@webrtc.org Review URL: https://codereview.webrtc.org/1315333003 Cr-Commit-Position: refs/heads/master@{#9800}
Diffstat (limited to 'webrtc/modules/audio_coding/codecs')
-rw-r--r--webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h
index 98f3ed9652..28e9b8e83f 100644
--- a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h
+++ b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h
@@ -187,9 +187,9 @@ AudioDecoderIsacT<T>::AudioDecoderIsacT(LockedIsacBandwidthInfo* bwinfo)
CHECK_EQ(0, T::Create(&isac_state_));
T::DecoderInit(isac_state_);
if (bwinfo_) {
- IsacBandwidthInfo bwinfo;
- T::GetBandwidthInfo(isac_state_, &bwinfo);
- bwinfo_->Set(bwinfo);
+ IsacBandwidthInfo bi;
+ T::GetBandwidthInfo(isac_state_, &bi);
+ bwinfo_->Set(bi);
}
}