summaryrefslogtreecommitdiff
path: root/silk/fixed
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-10-04 22:07:52 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-10-05 00:09:00 -0400
commit386883179a68467ec35dd1c481100ad5915081f0 (patch)
tree66eec7a977ae7b38f997b94561b1e6084fa9fc67 /silk/fixed
parentae5f5cc1c5d9919cc66efec2eea97f673228da44 (diff)
downloadopus-386883179a68467ec35dd1c481100ad5915081f0.tar.gz
Fixing some opus_int vs opus_int32 mismatches
Reported by Mark Warner.
Diffstat (limited to 'silk/fixed')
-rw-r--r--silk/fixed/pitch_analysis_core_FIX.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/fixed/pitch_analysis_core_FIX.c b/silk/fixed/pitch_analysis_core_FIX.c
index 03ea28d0..8df109e6 100644
--- a/silk/fixed/pitch_analysis_core_FIX.c
+++ b/silk/fixed/pitch_analysis_core_FIX.c
@@ -103,8 +103,8 @@ opus_int silk_pitch_analysis_core( /* O Voicing estimate: 0
VARDECL( opus_int16, C );
VARDECL( opus_int32, xcorr32 );
const opus_int16 *target_ptr, *basis_ptr;
- opus_int32 cross_corr, normalizer, energy, shift, energy_basis, energy_target;
- opus_int d_srch[ PE_D_SRCH_LENGTH ], Cmax, length_d_srch, length_d_comp;
+ opus_int32 cross_corr, normalizer, energy, energy_basis, energy_target;
+ opus_int d_srch[ PE_D_SRCH_LENGTH ], Cmax, length_d_srch, length_d_comp, shift;
VARDECL( opus_int16, d_comp );
opus_int32 sum, threshold, lag_counter;
opus_int CBimax, CBimax_new, CBimax_old, lag, start_lag, end_lag, lag_new;