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

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.h

Issue 1305983003: Convert some more things to size_t. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Support Android's C89 mode Created 5 years, 4 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/get_sync_seq.h
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.h b/webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.h
index 5b59f9856366a6e47e10fc3334a03ed65f090ffc..0e3b20775327129d8371d0a3858289d20a614dd8 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.h
+++ b/webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.h
@@ -27,12 +27,12 @@
void WebRtcIlbcfix_GetSyncSeq(
int16_t *idata, /* (i) original data */
- int16_t idatal, /* (i) dimension of data */
- int16_t centerStartPos, /* (i) where current block starts */
- int16_t *period, /* (i) rough-pitch-period array (Q-2) */
- int16_t *plocs, /* (i) where periods of period array are taken (Q-2) */
+ size_t idatal, /* (i) dimension of data */
+ size_t centerStartPos, /* (i) where current block starts */
+ size_t *period, /* (i) rough-pitch-period array (Q-2) */
+ const size_t *plocs, /* (i) where periods of period array are taken (Q-2) */
size_t periodl, /* (i) dimension period array */
- int16_t hl, /* (i) 2*hl+1 is the number of sequences */
+ size_t hl, /* (i) 2*hl+1 is the number of sequences */
int16_t *surround /* (i/o) The contribution from this sequence
summed with earlier contributions */
);
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/frame_classify.c ('k') | webrtc/modules/audio_coding/codecs/ilbc/get_sync_seq.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698