Changing non-const reference arguments to pointers, ACM
Part of refactoring of ACM, and recent lint-warnings. This CL changes non-const references in the ACM API to pointers. BUG=issue1372 Committed: https://code.google.com/p/webrtc/source/detail?r=3543 Review URL: https://webrtc-codereview.appspot.com/1103012 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3555 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -68,7 +68,7 @@ int VoECodecImpl::GetCodec(int index, CodecInst& codec)
|
||||
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
|
||||
"GetCodec(index=%d, codec=?)", index);
|
||||
CodecInst acmCodec;
|
||||
if (AudioCodingModule::Codec(index, (CodecInst&) acmCodec)
|
||||
if (AudioCodingModule::Codec(index, &acmCodec)
|
||||
== -1)
|
||||
{
|
||||
_shared->SetLastError(VE_INVALID_LISTNR, kTraceError,
|
||||
|
||||
Reference in New Issue
Block a user