Revert "Upconvert various types to int."
This reverts commit 83ad33a8aed1fb00e422b6abd33c3e8942821c24. BUG=499241 TBR=hlundin Review URL: https://codereview.webrtc.org/1179953003 Cr-Commit-Position: refs/heads/master@{#9418}
This commit is contained in:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user