Convert some more things to size_t.
These changes stem from requests by Andrew on https://codereview.webrtc.org/1228823002/ to eliminate some "return -1"s and change to using asserts plus returning size_ts. I then also converted the relevant connected bits. This also cleans up a bunch of style issues, e.g. no spaces around operators. BUG=chromium:81439 TEST=none R=andrew@webrtc.org, henrik.lundin@webrtc.org, niklas.enbom@webrtc.org Review URL: https://codereview.webrtc.org/1305983003 . Cr-Commit-Position: refs/heads/master@{#9813}
This commit is contained in:
@ -647,7 +647,7 @@ const int16_t WebRtcIlbcfix_kEnhWt[3] = {
|
||||
4800, 16384, 27968 /* Q16 */
|
||||
};
|
||||
|
||||
const int16_t WebRtcIlbcfix_kEnhPlocs[ENH_NBLOCKS_TOT] = {
|
||||
const size_t WebRtcIlbcfix_kEnhPlocs[ENH_NBLOCKS_TOT] = {
|
||||
160, 480, 800, 1120, 1440, 1760, 2080, 2400 /* Q(-2) */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user