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 c56499122cdc6362a5fb60ac8dd4b1d811dda008..0574047e6a40cb0f2102c128c55d0e3917c15456 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 |
@@ -52,7 +52,8 @@ int main(int argc, char* argv[]) { |
double starttime, runtime, length_file; |
int16_t stream_len = 0; |
- int16_t declen = 0, lostFrame = 0, declenTC = 0; |
+ int16_t declen = 0, declenTC = 0; |
+ bool lostFrame = false; |
int16_t shortdata[SWBFRAMESAMPLES_10ms]; |
int16_t vaddata[SWBFRAMESAMPLES_10ms * 3]; |
@@ -696,7 +697,7 @@ int main(int argc, char* argv[]) { |
if (!lostFrame) { |
lostFrame = ((rand() % 100) < packetLossPercent); |
} else { |
- lostFrame = 0; |
+ lostFrame = false; |
} |
// RED. |