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

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

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/enhancer.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/enhancer.c b/webrtc/modules/audio_coding/codecs/ilbc/enhancer.c
index 56835970060d1f81636126236644803c57e637bb..521d00441c2e2d0a873ce7e4187a94331c289154 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/enhancer.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/enhancer.c
@@ -29,10 +29,10 @@
void WebRtcIlbcfix_Enhancer(
int16_t *odata, /* (o) smoothed block, dimension blockl */
int16_t *idata, /* (i) data buffer used for enhancing */
- int16_t idatal, /* (i) dimension idata */
- int16_t centerStartPos, /* (i) first sample current block within idata */
- int16_t *period, /* (i) pitch period array (pitch bward-in time) */
- int16_t *plocs, /* (i) locations where period array values valid */
+ size_t idatal, /* (i) dimension idata */
+ size_t centerStartPos, /* (i) first sample current block within idata */
+ size_t *period, /* (i) pitch period array (pitch bward-in time) */
+ const size_t *plocs, /* (i) locations where period array values valid */
size_t periodl /* (i) dimension of period and plocs */
){
/* Stack based */
@@ -47,5 +47,5 @@ void WebRtcIlbcfix_Enhancer(
/* compute the smoothed output from said second sequence */
- WebRtcIlbcfix_Smooth(odata, idata+centerStartPos, surround);
+ WebRtcIlbcfix_Smooth(odata, idata + centerStartPos, surround);
}
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/enhancer.h ('k') | webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698