Index: webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc |
diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc b/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc |
index ac1efe4becc99bb22a815bb9c2e81f20297a8627..a7a80ab0493fba67df5fb07b4d8205387a0bc5b9 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc |
+++ b/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc |
@@ -101,15 +101,14 @@ int main(int argc, char* argv[]) |
int i, errtype, h = 0, k, packetLossPercent = 0; |
int16_t CodingMode; |
int16_t bottleneck; |
- int framesize = 30; /* ms */ |
+ int16_t framesize = 30; /* ms */ |
int cur_framesmpls, err = 0, lostPackets = 0; |
/* Runtime statistics */ |
double starttime, runtime, length_file; |
int16_t stream_len = 0; |
- int16_t framecnt; |
- int declen = 0; |
+ int16_t framecnt, declen = 0; |
int16_t shortdata[FRAMESAMPLES_10ms]; |
int16_t decoded[MAX_FRAMESAMPLES]; |
uint16_t streamdata[500]; |
@@ -767,7 +766,7 @@ int main(int argc, char* argv[]) |
#else |
declen = -1; |
#endif |
- prevFrameSize = static_cast<int16_t>(declen / 240); |
+ prevFrameSize = declen/240; |
} |
} |