summaryrefslogtreecommitdiff
path: root/voice_engine/voe_codec_impl.cc
diff options
context:
space:
mode:
authortina.legrand@webrtc.org <tina.legrand@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-02-20 15:22:23 +0000
committertina.legrand@webrtc.org <tina.legrand@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-02-20 15:22:23 +0000
commit01ee1ba3f14e512ddba1aa7b5fdd6450fb4554d3 (patch)
tree58b151de7d3c6b4b675ac53a865fc982282419ef /voice_engine/voe_codec_impl.cc
parentc86dbab033af23eca99606c31f1109eff1f2a7f8 (diff)
downloadwebrtc-01ee1ba3f14e512ddba1aa7b5fdd6450fb4554d3.tar.gz
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 Review URL: https://webrtc-codereview.appspot.com/1103012 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3543 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/voe_codec_impl.cc')
-rw-r--r--voice_engine/voe_codec_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/voice_engine/voe_codec_impl.cc b/voice_engine/voe_codec_impl.cc
index 4768004a..6efa8998 100644
--- a/voice_engine/voe_codec_impl.cc
+++ b/voice_engine/voe_codec_impl.cc
@@ -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,