From 18464d7270d2f9290fdd07c7726d16a7abf05dc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Fri, 29 Aug 2014 18:40:14 +0200 Subject: [PATCH] sipr16kdata.h: add forgotten const. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavcodec/sipr16k.c | 2 +- libavcodec/sipr16kdata.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/sipr16k.c b/libavcodec/sipr16k.c index bfd8ade37d..9c8f684003 100644 --- a/libavcodec/sipr16k.c +++ b/libavcodec/sipr16k.c @@ -50,7 +50,7 @@ static void lsf2lsp(const float *lsf, double *lsp) lsp[i] = cosf(lsf[i]); } -static void dequant(float *out, const int *idx, const float *cbs[]) +static void dequant(float *out, const int *idx, const float * const cbs[]) { int i; diff --git a/libavcodec/sipr16kdata.h b/libavcodec/sipr16kdata.h index 96bf0e96c8..16a653da94 100644 --- a/libavcodec/sipr16kdata.h +++ b/libavcodec/sipr16kdata.h @@ -525,7 +525,7 @@ static const float lsf_cb5_16k[128][4] = { { 0.124405, 0.009943, -0.148477, -0.205184} }; -static const float *lsf_codebooks_16k[] = { +static const float * const lsf_codebooks_16k[] = { lsf_cb1_16k[0], lsf_cb2_16k[0], lsf_cb3_16k[0], lsf_cb4_16k[0], lsf_cb5_16k[0] };