Critical section in constructor, audio coding module
Two changes in this CL: -Removal of a critical section lock in the constructor of audio coding module -Removal of one unused variable Review URL: http://webrtc-codereview.appspot.com/43001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@116 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
868b857395
commit
5b95bcd22c
@ -72,7 +72,6 @@ AudioCodingModuleImpl::AudioCodingModuleImpl(
|
||||
_lastDetectedTone(kACMToneEnd),
|
||||
_callbackCritSect(CriticalSectionWrapper::CreateCriticalSection())
|
||||
{
|
||||
CriticalSectionScoped lock(*_acmCritSect);
|
||||
_lastTimestamp = 0xD87F3F9F;
|
||||
_lastInTimestamp = 0xD87F3F9F;
|
||||
// nullify the codec name
|
||||
@ -1722,7 +1721,6 @@ AudioCodingModuleImpl::IncomingPacket(
|
||||
const WebRtc_Word32 payloadLength,
|
||||
const WebRtcRTPHeader& rtpInfo)
|
||||
{
|
||||
WebRtc_Word16 decCntr;
|
||||
|
||||
if (payloadLength < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user