Fixing a nit
This is a follow-up for https://webrtc-codereview.appspot.com/33209004/ where a post-commit nit was provided. R=tommi@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/35039004 Cr-Commit-Position: refs/heads/master@{#8295} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8295 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1c6239a3b6
commit
e01bae24a5
@ -1682,7 +1682,7 @@ int AudioCodingModuleImpl::GetAudioDecoder(const CodecInst& codec, int codec_id,
|
||||
|
||||
void AudioCodingModuleImpl::SetCngPayloadType(int sample_rate_hz,
|
||||
int payload_type) {
|
||||
for (auto codec : codecs_) {
|
||||
for (auto* codec : codecs_) {
|
||||
if (codec) {
|
||||
codec->SetCngPt(sample_rate_hz, payload_type);
|
||||
}
|
||||
@ -1690,7 +1690,7 @@ void AudioCodingModuleImpl::SetCngPayloadType(int sample_rate_hz,
|
||||
}
|
||||
|
||||
void AudioCodingModuleImpl::EnableCopyRedForAllCodecs(bool enable) {
|
||||
for (auto codec : codecs_) {
|
||||
for (auto* codec : codecs_) {
|
||||
if (codec) {
|
||||
codec->EnableCopyRed(enable, red_pltype_);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user