| Index: webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc b/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc
|
| index d385ff40c3de59cc351c493b3e968e1b663260a4..2e5badd82ceba870e32b980ed4abb66c1beb27f9 100644
|
| --- a/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc
|
| @@ -499,13 +499,8 @@ int main(int argc, char* argv[]) {
|
| return 0;
|
| }
|
| }
|
| - if (testNum != 2) {
|
| - if (WebRtcIsac_DecoderInit(ISAC_main_inst) < 0) {
|
| - printf("Error could not initialize the decoder \n");
|
| - cout << flush;
|
| - return 0;
|
| - }
|
| - }
|
| + if (testNum != 2)
|
| + WebRtcIsac_DecoderInit(ISAC_main_inst);
|
| if (CodingMode == 1) {
|
| err = WebRtcIsac_Control(ISAC_main_inst, bottleneck, framesize);
|
| if (err < 0) {
|
| @@ -570,13 +565,7 @@ int main(int argc, char* argv[]) {
|
| cout << flush;
|
| }
|
|
|
| - err = WebRtcIsac_DecoderInit(ISAC_main_inst);
|
| - /* Error check */
|
| - if (err < 0) {
|
| - errtype = WebRtcIsac_GetErrorCode(ISAC_main_inst);
|
| - printf("\n\n Error in decoderinit: %d.\n\n", errtype);
|
| - cout << flush;
|
| - }
|
| + WebRtcIsac_DecoderInit(ISAC_main_inst);
|
| }
|
|
|
| cur_framesmpls = 0;
|
|
|