aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libvo-amrwbenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-04-13 00:15:01 +0300
committerMartin Storsjö <martin@martin.st>2011-04-13 11:30:38 +0300
commitc48ce4eb50ff299db8f9d0289442ec655a1fb053 (patch)
treed75c5b2ad6c1f54d38a91e970f5af51bda61c50c /libavcodec/libvo-amrwbenc.c
parent900a129f4f16d4bd19a7707b51eb711382a6e42d (diff)
downloadffmpeg-c48ce4eb50ff299db8f9d0289442ec655a1fb053.tar.gz
libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static const
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/libvo-amrwbenc.c')
-rw-r--r--libavcodec/libvo-amrwbenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvo-amrwbenc.c b/libavcodec/libvo-amrwbenc.c
index a5e8f397c9..8ef4f81638 100644
--- a/libavcodec/libvo-amrwbenc.c
+++ b/libavcodec/libvo-amrwbenc.c
@@ -41,7 +41,7 @@ typedef struct AMRWBContext {
static int getWBBitrateMode(int bitrate)
{
/* make the correspondance between bitrate and mode */
- AMRWB_bitrates rates[] = { { 6600, 0},
+ static const AMRWB_bitrates rates[] = { { 6600, 0},
{ 8850, 1},
{12650, 2},
{14250, 3},