Index: webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c |
diff --git a/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c b/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c |
index e0d0f412c802540a94f729718ab505fcc974e98a..214dccd0210a33bf110f053797f6aa3e7bdf08ad 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c |
+++ b/webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c |
@@ -350,6 +350,11 @@ int main(int argc, char* argv[]) { |
} |
rcuStreamLen = WebRtcIsac_GetRedPayload(ISAC_main_inst, payloadRCU); |
+ if (rcuStreamLen < 0) { |
+ fprintf(stderr, "\nError getting RED payload\n"); |
+ getc(stdin); |
+ exit(EXIT_FAILURE); |
+ } |
get_arrival_time(cur_framesmpls, stream_len, bottleneck, &packetData, |
sampFreqKHz * 1000, sampFreqKHz * 1000); |