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

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/filtered_cb_vecs.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/filtered_cb_vecs.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/filtered_cb_vecs.c b/webrtc/modules/audio_coding/codecs/ilbc/filtered_cb_vecs.c
index aa8170cb76d22c3c2bbcbf855ae50e78414c5ba9..04d17a67ef5e77ffa0056b5e6bf61385139cf2e9 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/filtered_cb_vecs.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/filtered_cb_vecs.c
@@ -29,8 +29,8 @@ void WebRtcIlbcfix_FilteredCbVecs(
int16_t *cbvectors, /* (o) Codebook vector for the higher section */
int16_t *CBmem, /* (i) Codebook memory that is filtered to create a
second CB section */
- int lMem, /* (i) Length of codebook memory */
- int16_t samples /* (i) Number of samples to filter */
+ size_t lMem, /* (i) Length of codebook memory */
+ size_t samples /* (i) Number of samples to filter */
) {
/* Set up the memory, start with zero state */
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/filtered_cb_vecs.h ('k') | webrtc/modules/audio_coding/codecs/ilbc/frame_classify.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698