summaryrefslogtreecommitdiff
path: root/src/libFLAC/lpc.c
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2005-01-26 04:04:38 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2005-01-26 04:04:38 +0000
commit7446e18663fb9bfde402742cb77bd4d3c69966c7 (patch)
treeca2c691389c13623c0ef79547ac9bf4a20b2385c /src/libFLAC/lpc.c
parentf30426a75b8b8890c76cf825eb93df7511588a72 (diff)
downloadflac-7446e18663fb9bfde402742cb77bd4d3c69966c7.tar.gz
fix ANSI C violation w.r.t. const arrays
Diffstat (limited to 'src/libFLAC/lpc.c')
-rw-r--r--src/libFLAC/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libFLAC/lpc.c b/src/libFLAC/lpc.c
index 499d93bf..b846db5c 100644
--- a/src/libFLAC/lpc.c
+++ b/src/libFLAC/lpc.c
@@ -207,7 +207,7 @@ redo_it:
return 0;
}
-void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 data[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[])
+void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[])
{
#ifdef FLAC__OVERFLOW_DETECT
FLAC__int64 sumo;
@@ -256,7 +256,7 @@ void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 data[],
*/
}
-void FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 data[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[])
+void FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[])
{
unsigned i, j;
FLAC__int64 sum;