iLBC: Use uint8_t[] for byte arrays
BUG=909 This is the same as https://review.webrtc.org/41779004/ with the review comments addressed. R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/40769004 Cr-Commit-Position: refs/heads/master@{#8394} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8394 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -45,7 +45,8 @@ int main(int argc, char* argv[])
|
||||
|
||||
FILE *ifileid,*efileid,*ofileid, *cfileid;
|
||||
int16_t data[BLOCKL_MAX];
|
||||
int16_t encoded_data[ILBCNOOFWORDS_MAX], decoded_data[BLOCKL_MAX];
|
||||
uint8_t encoded_data[2 * ILBCNOOFWORDS_MAX];
|
||||
int16_t decoded_data[BLOCKL_MAX];
|
||||
int len;
|
||||
short pli, mode;
|
||||
int blockcount = 0;
|
||||
@ -163,8 +164,7 @@ int main(int argc, char* argv[])
|
||||
/* encoding */
|
||||
|
||||
fprintf(stderr, "--- Encoding block %i --- ",blockcount);
|
||||
len=WebRtcIlbcfix_Encode(Enc_Inst, data, (int16_t)frameLen,
|
||||
(uint8_t*)encoded_data);
|
||||
len = WebRtcIlbcfix_Encode(Enc_Inst, data, (int16_t)frameLen, encoded_data);
|
||||
fprintf(stderr, "\r");
|
||||
|
||||
/* write byte file */
|
||||
|
||||
Reference in New Issue
Block a user