Chromium Code Reviews| 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 4eeeed078ff6d1fcf28968be47a2f014896addcd..8584c76990ae6df6fc164093de07a8d82fa79c2e 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 |
| @@ -662,8 +662,9 @@ int main(int argc, char* argv[]) { |
| if (stream_len < 0) { |
| /* exit if returned with error */ |
| errtype = WebRtcIsac_GetErrorCode(ISAC_main_inst); |
| - printf("\n\nError in encoder: %d.\n\n", errtype); |
| + fprintf(stderr, "Error in encoder: %d.\n", errtype); |
| cout << flush; |
| + exit(0); |
|
Peter Kasting
2015/07/10 18:48:46
This matches the comment better and will also be n
|
| } |
| cur_framesmpls += samplesIn10Ms; |
| /* exit encoder loop if the encoder returned a bitstream */ |