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

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/my_corr.c

Issue 1230693002: Update audio code to use size_t more correctly, (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Review comments 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/my_corr.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/my_corr.c b/webrtc/modules/audio_coding/codecs/ilbc/my_corr.c
index 3261015258f7751a5a760861a79b2d6a92a4ac24..bd6ff561c2c5643e8961f2e0ab1f2594205a801a 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/my_corr.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/my_corr.c
@@ -25,11 +25,12 @@
void WebRtcIlbcfix_MyCorr(
int32_t* corr, /* (o) correlation of seq1 and seq2 */
const int16_t* seq1, /* (i) first sequence */
- int16_t dim1, /* (i) dimension first seq1 */
+ size_t dim1, /* (i) dimension first seq1 */
const int16_t* seq2, /* (i) second sequence */
- int16_t dim2 /* (i) dimension seq2 */
+ size_t dim2 /* (i) dimension seq2 */
){
- int16_t max, loops;
+ int16_t max;
+ size_t loops;
int scale;
/* Calculate correlation between the two sequences. Scale the
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/my_corr.h ('k') | webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698