aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-29 18:40:14 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-31 10:25:36 +0200
commit18464d7270d2f9290fdd07c7726d16a7abf05dc6 (patch)
tree5241829c8c7c926d7b8c3b0fb42b9566839d1e1f
parent2bb66cc8befda588c560374b86bd43713908bf44 (diff)
downloadffmpeg-18464d7270d2f9290fdd07c7726d16a7abf05dc6.tar.gz
sipr16kdata.h: add forgotten const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r--libavcodec/sipr16k.c2
-rw-r--r--libavcodec/sipr16kdata.h2
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]
};