Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(691)

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c

Issue 1179953003: Revert "Upconvert various types to int." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c b/webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c
index 103a13650f32c2c54a0bddfd9331bc7710cc880a..df37bec1116c912129bf8f5859f7cff7bd8fa4a0 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/test/iLBC_testLib.c
@@ -41,8 +41,7 @@ int main(int argc, char* argv[])
{
FILE *ifileid,*efileid,*ofileid, *chfileid;
short encoded_data[55], data[240], speechType;
- int len;
- short mode, pli;
+ short len, mode, pli;
int blockcount = 0;
IlbcEncoderInstance *Enc_Inst;
@@ -178,7 +177,7 @@ int main(int argc, char* argv[])
/* decoding */
fprintf(stderr, "--- Decoding block %i --- ",blockcount);
if (pli==1) {
- len=WebRtcIlbcfix_Decode(Dec_Inst, encoded_data, (int16_t)len, data,
+ len=WebRtcIlbcfix_Decode(Dec_Inst, encoded_data, len, data,
&speechType);
if (len < 0) {
fprintf(stderr, "Error decoding\n");
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/my_corr.c ('k') | webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698