shithub: opus

Download patch

ref: bfe52ceb749636cfe8d71242b8138af38dabcee8
parent: c973a5961e4f9032841b79e3bef699a139a73a79
author: Timothy B. Terriberry <[email protected]>
date: Wed Apr 3 15:38:35 EDT 2013

Fix some warnings.

You can't use /* within a comment.

--- a/silk/fixed/pitch_analysis_core_FIX.c
+++ b/silk/fixed/pitch_analysis_core_FIX.c
@@ -536,18 +536,18 @@
 }
 
 /***********************************************************************
-/* Calculates the correlations used in stage 3 search. In order to cover
-/* the whole lag codebook for all the searched offset lags (lag +- 2),
-/* the following correlations are needed in each sub frame:
-/* 
-/* sf1: lag range [-8,...,7] total 16 correlations
-/* sf2: lag range [-4,...,4] total 9 correlations
-/* sf3: lag range [-3,....4] total 8 correltions
-/* sf4: lag range [-6,....8] total 15 correlations
-/* 
-/* In total 48 correlations. The direct implementation computed in worst 
-/* case 4*12*5 = 240 correlations, but more likely around 120.
-/***********************************************************************/
+ * Calculates the correlations used in stage 3 search. In order to cover
+ * the whole lag codebook for all the searched offset lags (lag +- 2),
+ * the following correlations are needed in each sub frame:
+ *
+ * sf1: lag range [-8,...,7] total 16 correlations
+ * sf2: lag range [-4,...,4] total 9 correlations
+ * sf3: lag range [-3,....4] total 8 correltions
+ * sf4: lag range [-6,....8] total 15 correlations
+ *
+ * In total 48 correlations. The direct implementation computed in worst
+ * case 4*12*5 = 240 correlations, but more likely around 120.
+ ***********************************************************************/
 static void silk_P_Ana_calc_corr_st3(
     opus_int32        cross_corr_st3[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE3_MAX ][ PE_NB_STAGE3_LAGS ],/* O 3 DIM correlation array */
     const opus_int16  frame[],                         /* I vector to correlate         */