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

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

Issue 1172163004: Reformat existing code. There should be no functional effects. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 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 0da6d5498aafa043ac9d96a4c90026e32dbf26f8..3261015258f7751a5a760861a79b2d6a92a4ac24 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/my_corr.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/my_corr.c
@@ -23,10 +23,10 @@
*---------------------------------------------------------------*/
void WebRtcIlbcfix_MyCorr(
- int32_t *corr, /* (o) correlation of seq1 and seq2 */
- int16_t *seq1, /* (i) first sequence */
+ int32_t* corr, /* (o) correlation of seq1 and seq2 */
+ const int16_t* seq1, /* (i) first sequence */
int16_t dim1, /* (i) dimension first seq1 */
- const int16_t *seq2, /* (i) second sequence */
+ const int16_t* seq2, /* (i) second sequence */
int16_t dim2 /* (i) dimension seq2 */
){
int16_t max, loops;
@@ -46,7 +46,7 @@ void WebRtcIlbcfix_MyCorr(
loops=dim1-dim2+1;
/* Calculate the cross correlations */
- WebRtcSpl_CrossCorrelation(corr, (int16_t*)seq2, seq1, dim2, loops, scale, 1);
+ WebRtcSpl_CrossCorrelation(corr, seq2, seq1, dim2, loops, scale, 1);
return;
}

Powered by Google App Engine
This is Rietveld 408576698