aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/audioconvert.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-08 18:17:07 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-08 19:11:58 +0100
commitaeeb0e6deb6e4d6a65b819cfe2b0db68b6d7881e (patch)
tree1dd1f060b4d19ecc590d547adb4d97d1007b97af /libswresample/audioconvert.c
parentfe21ea1798d0e4277fbbb08181411fafb0101435 (diff)
downloadffmpeg-aeeb0e6deb6e4d6a65b819cfe2b0db68b6d7881e.tar.gz
indeo4, swresample: add some missing static/const to tables.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libswresample/audioconvert.c')
-rw-r--r--libswresample/audioconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/audioconvert.c b/libswresample/audioconvert.c
index 5957139447..96e5083c87 100644
--- a/libswresample/audioconvert.c
+++ b/libswresample/audioconvert.c
@@ -81,7 +81,7 @@ CONV_FUNC(AV_SAMPLE_FMT_DBL, double , AV_SAMPLE_FMT_DBL, *(const double*)pi)
#define FMT_PAIR_FUNC(out, in) [out + AV_SAMPLE_FMT_NB*in] = CONV_FUNC_NAME(out, in)
-conv_func_type *fmt_pair_to_conv_functions[AV_SAMPLE_FMT_NB*AV_SAMPLE_FMT_NB] = {
+static conv_func_type * const fmt_pair_to_conv_functions[AV_SAMPLE_FMT_NB*AV_SAMPLE_FMT_NB] = {
FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_U8 ),
FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8 ),
FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_U8 ),