diff options
author | Martin Storsjö <martin@martin.st> | 2011-04-13 00:15:01 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-04-13 11:30:38 +0300 |
commit | c48ce4eb50ff299db8f9d0289442ec655a1fb053 (patch) | |
tree | d75c5b2ad6c1f54d38a91e970f5af51bda61c50c /libavcodec/libopencore-amr.c | |
parent | 900a129f4f16d4bd19a7707b51eb711382a6e42d (diff) | |
download | ffmpeg-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/libopencore-amr.c')
-rw-r--r-- | libavcodec/libopencore-amr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index a81d272a1c..b1eb65c885 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -53,7 +53,7 @@ typedef struct AMR_bitrates { static int getBitrateMode(int bitrate) { /* make the correspondance between bitrate and mode */ - AMR_bitrates rates[] = { { 4750, MR475}, + static const AMR_bitrates rates[] = {{ 4750, MR475}, { 5150, MR515}, { 5900, MR59}, { 6700, MR67}, |