aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:25:00 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 15:37:02 +0100
commitb883c879aa65d11d9254ca7d76294c8c5c11ae57 (patch)
tree8509984590df206af3055265534caeb306f476cb
parent6f6ab1d9f35bd0b02bd8420c510805de9b92ed7f (diff)
downloadffmpeg-b883c879aa65d11d9254ca7d76294c8c5c11ae57.tar.gz
Make AMR tables of lookup filter tables const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r--libavcodec/amrnbdata.h4
-rw-r--r--libavcodec/amrwbdata.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/amrnbdata.h b/libavcodec/amrnbdata.h
index 2f21439896..fab9f759ad 100644
--- a/libavcodec/amrnbdata.h
+++ b/libavcodec/amrnbdata.h
@@ -1655,10 +1655,10 @@ static const float ir_filter_medium[AMR_SUBFRAME_SIZE] = {
0.016998, 0.023804, -0.041779, 0.025696, 0.019989,
};
-static const float *ir_filters_lookup[2] = {
+static const float * const ir_filters_lookup[2] = {
ir_filter_strong, ir_filter_medium
};
-static const float *ir_filters_lookup_MODE_7k95[2] = {
+static const float * const ir_filters_lookup_MODE_7k95[2] = {
ir_filter_strong_MODE_7k95, ir_filter_medium
};
diff --git a/libavcodec/amrwbdata.h b/libavcodec/amrwbdata.h
index 1327b0237a..972c257d2a 100644
--- a/libavcodec/amrwbdata.h
+++ b/libavcodec/amrwbdata.h
@@ -1805,7 +1805,7 @@ static const float ir_filter_mid[64] = {
-7.501221e-02, 2.920532e-02, 1.660156e-02, 7.751465e-02
};
-static const float *ir_filters_lookup[2] = {
+static const float * const ir_filters_lookup[2] = {
ir_filter_str, ir_filter_mid
};