Change name for local CriticalSectionScoped variable
Tools were complaining about (harmless) shadowing of variable names. This is a follow-up to https://webrtc-codereview.appspot.com/41659004/#msg8 BUG=3926 TBR=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/37099004 Cr-Commit-Position: refs/heads/master@{#8225} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8225 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a1dfbf1e5c
commit
c420a86f4c
@ -191,7 +191,7 @@ bool AudioEncoderDecoderIsacT<T>::EncodeInternal(uint32_t rtp_timestamp,
|
||||
size_t max_encoded_bytes,
|
||||
uint8_t* encoded,
|
||||
EncodedInfo* info) {
|
||||
CriticalSectionScoped cs(lock_.get());
|
||||
CriticalSectionScoped cs_lock(lock_.get());
|
||||
if (!packet_in_progress_) {
|
||||
// Starting a new packet; remember the timestamp for later.
|
||||
packet_in_progress_ = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user