mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
![]() In this code, the problem was that the ptr could sometimes point outside of the allocated arrays, in particular before the array, causing a pointer overflow warning. However, the memory pointed to was never read or written while the pointer was off. With this change, we keep an index instead of a pointer, which avoids warnings for pointer overflow. The index might be negative at times, but the index will not be used to address the arrays while negative. Bug: webrtc:9166 Change-Id: I3a32d8e814660f43be9d4c94889d00ac3f8403a5 Reviewed-on: https://webrtc-review.googlesource.com/71165 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22951} |
||
---|---|---|
.. | ||
include | ||
auto_corr_to_refl_coef.c | ||
auto_correlation.c | ||
complex_bit_reverse.c | ||
complex_bit_reverse_arm.S | ||
complex_bit_reverse_mips.c | ||
complex_fft.c | ||
complex_fft_mips.c | ||
complex_fft_tables.h | ||
copy_set_operations.c | ||
cross_correlation.c | ||
cross_correlation_mips.c | ||
cross_correlation_neon.c | ||
division_operations.c | ||
dot_product_with_scale.cc | ||
dot_product_with_scale.h | ||
downsample_fast.c | ||
downsample_fast_mips.c | ||
downsample_fast_neon.c | ||
energy.c | ||
filter_ar.c | ||
filter_ar_fast_q12.c | ||
filter_ar_fast_q12_armv7.S | ||
filter_ar_fast_q12_mips.c | ||
filter_ma_fast_q12.c | ||
get_hanning_window.c | ||
get_scaling_square.c | ||
ilbc_specific_functions.c | ||
levinson_durbin.c | ||
lpc_to_refl_coef.c | ||
min_max_operations.c | ||
min_max_operations_mips.c | ||
min_max_operations_neon.c | ||
randomization_functions.c | ||
real_fft.c | ||
real_fft_unittest.cc | ||
refl_coef_to_lpc.c | ||
resample.c | ||
resample_48khz.c | ||
resample_by_2.c | ||
resample_by_2_internal.c | ||
resample_by_2_internal.h | ||
resample_by_2_mips.c | ||
resample_fractional.c | ||
signal_processing_unittest.cc | ||
spl_init.c | ||
spl_inl.c | ||
spl_sqrt.c | ||
spl_sqrt_floor.c | ||
spl_sqrt_floor_arm.S | ||
spl_sqrt_floor_mips.c | ||
splitting_filter.c | ||
sqrt_of_one_minus_x_squared.c | ||
vector_scaling_operations.c | ||
vector_scaling_operations_mips.c |