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

Unified Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c

Issue 1227163003: 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/isac/fix/source/decode.c
diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c b/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c
index d0c59d687851708402e05f74fd84198a32113cb6..e3de437a58ded933ab1edf68b4dd9b61bec2a4f0 100644
--- a/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c
+++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/decode.c
@@ -29,7 +29,7 @@
int WebRtcIsacfix_DecodeImpl(int16_t* signal_out16,
IsacFixDecoderInstance* ISACdec_obj,
- int16_t* current_framesamples)
+ size_t* current_framesamples)
{
int k;
int err;
@@ -58,9 +58,9 @@ int WebRtcIsacfix_DecodeImpl(int16_t* signal_out16,
int16_t gainQ13;
- int16_t frame_nb; /* counter */
- int16_t frame_mode; /* 0 for 30ms, 1 for 60ms */
- static const int16_t kProcessedSamples = 480; /* 480 (for both 30, 60 ms) */
+ size_t frame_nb; /* counter */
+ size_t frame_mode; /* 0 for 30ms, 1 for 60ms */
+ static const size_t kProcessedSamples = 480; /* 480 (for both 30, 60 ms) */
/* PLC */
int16_t overlapWin[ 240 ];

Powered by Google App Engine
This is Rietveld 408576698