Index: webrtc/modules/utility/source/file_recorder_impl.cc |
diff --git a/webrtc/modules/utility/source/file_recorder_impl.cc b/webrtc/modules/utility/source/file_recorder_impl.cc |
index 6a5f2c27c25113bad14135e9af4b523b98c6cdb8..1ea62e6e03a4158c376849c2b9f5fcdddcd3fafb 100644 |
--- a/webrtc/modules/utility/source/file_recorder_impl.cc |
+++ b/webrtc/modules/utility/source/file_recorder_impl.cc |
@@ -240,7 +240,7 @@ int32_t FileRecorderImpl::SetUpAudioEncoder() |
if (_fileFormat == kFileFormatPreencodedFile || |
STR_CASE_CMP(codec_info_.plname, "L16") != 0) |
{ |
- if(_audioEncoder.SetEncodeCodec(codec_info_,_amrFormat) == -1) |
+ if(_audioEncoder.SetEncodeCodec(codec_info_) == -1) |
{ |
LOG(LS_ERROR) << "SetUpAudioEncoder() codec " |
<< codec_info_.plname << " not supported."; |