Make AMR tables of lookup filter tables const.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 5 Nov 2011 14:25:00 +0000 (15:25 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 5 Nov 2011 14:37:02 +0000 (15:37 +0100)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/amrnbdata.h
libavcodec/amrwbdata.h

index 2f21439..fab9f75 100644 (file)
@@ -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
 };
 
index 1327b02..972c257 100644 (file)
@@ -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
 };