summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc.c
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
commitcf2baeb3382283d41eac7886ea831f52262971ba (patch)
tree986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/ac3enc.c
parent73cc419b271ac5af8c1aed36b5c0167c7016127a (diff)
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r--libavcodec/ac3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index b4410b3cd1..86ccb49822 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -490,7 +490,7 @@ static int compute_bit_allocation(AC3EncodeContext *s,
uint8_t bap1[NB_BLOCKS][AC3_MAX_CHANNELS][N/2];
int16_t psd[NB_BLOCKS][AC3_MAX_CHANNELS][N/2];
int16_t mask[NB_BLOCKS][AC3_MAX_CHANNELS][50];
- static int frame_bits_inc[8] = { 0, 0, 2, 2, 2, 4, 2, 4 };
+ static const int frame_bits_inc[8] = { 0, 0, 2, 2, 2, 4, 2, 4 };
/* init default parameters */
s->slow_decay_code = 2;