| Index: webrtc/modules/audio_device/dummy/file_audio_device_factory.cc
|
| diff --git a/webrtc/modules/audio_device/dummy/file_audio_device_factory.cc b/webrtc/modules/audio_device/dummy/file_audio_device_factory.cc
|
| index 2a6ac1ffe9cdea73f4ca55dbcf81aea35cd1177b..7c6d16f129d0b77a105f4deca0d7bb331a55ad64 100644
|
| --- a/webrtc/modules/audio_device/dummy/file_audio_device_factory.cc
|
| +++ b/webrtc/modules/audio_device/dummy/file_audio_device_factory.cc
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "webrtc/modules/audio_device/dummy/file_audio_device_factory.h"
|
|
|
| +#include <cstdlib>
|
| #include <cstring>
|
|
|
| #include "webrtc/modules/audio_device/dummy/file_audio_device.h"
|
| @@ -26,7 +27,7 @@ FileAudioDevice* FileAudioDeviceFactory::CreateFileAudioDevice(
|
| if (!_isConfigured) {
|
| printf("Was compiled with WEBRTC_DUMMY_AUDIO_PLAY_STATIC_FILE "
|
| "but did not set input/output files to use. Bailing out.\n");
|
| - exit(1);
|
| + std::exit(1);
|
| }
|
| return new FileAudioDevice(id, _inputAudioFilename, _outputAudioFilename);
|
| }
|
| @@ -45,7 +46,7 @@ void FileAudioDeviceFactory::SetFilenamesToUse(
|
| // Sanity: must be compiled with the right define to run this.
|
| printf("Trying to use dummy file devices, but is not compiled "
|
| "with WEBRTC_DUMMY_FILE_DEVICES. Bailing out.\n");
|
| - exit(1);
|
| + std::exit(1);
|
| #endif
|
| }
|
|
|
|
|