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

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

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync 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/energy_inverse.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/energy_inverse.c b/webrtc/modules/audio_coding/codecs/ilbc/energy_inverse.c
index a6b1c758f9ef4a471f20c600b2d5f185564f9b24..b2bdcfffc3fce7ddafcfc391b320c76b750c2432 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/energy_inverse.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/energy_inverse.c
@@ -23,12 +23,12 @@
void WebRtcIlbcfix_EnergyInverse(
int16_t *energy, /* (i/o) Energy and inverse
energy (in Q29) */
- int noOfEnergies) /* (i) The length of the energy
+ size_t noOfEnergies) /* (i) The length of the energy
vector */
{
int32_t Nom=(int32_t)0x1FFFFFFF;
int16_t *energyPtr;
- int i;
+ size_t i;
/* Set the minimum energy value to 16384 to avoid overflow */
energyPtr=energy;
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/energy_inverse.h ('k') | webrtc/modules/audio_coding/codecs/ilbc/enhancer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698