aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3tab.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2004-06-26 10:08:49 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2004-06-26 10:08:49 +0000
commit0c2a9d56d4e275fe0bd8098c183aab16e74e731c (patch)
treee427914703f255c6c4ae1fa60f59a88fb410c573 /libavcodec/ac3tab.h
parentb442a92f852b724fd21abe48b11939d6f15787f5 (diff)
downloadffmpeg-0c2a9d56d4e275fe0bd8098c183aab16e74e731c.tar.gz
make the tables static
Originally committed as revision 3255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3tab.h')
-rw-r--r--libavcodec/ac3tab.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/ac3tab.h b/libavcodec/ac3tab.h
index 5d404b5390..8e667b7c8d 100644
--- a/libavcodec/ac3tab.h
+++ b/libavcodec/ac3tab.h
@@ -4,10 +4,10 @@
*/
/* possible frequencies */
-const uint16_t ac3_freqs[3] = { 48000, 44100, 32000 };
+static const uint16_t ac3_freqs[3] = { 48000, 44100, 32000 };
/* possible bitrates */
-const uint16_t ac3_bitratetab[19] = {
+static const uint16_t ac3_bitratetab[19] = {
32, 40, 48, 56, 64, 80, 96, 112, 128,
160, 192, 224, 256, 320, 384, 448, 512, 576, 640
};
@@ -15,7 +15,7 @@ const uint16_t ac3_bitratetab[19] = {
/* AC3 MDCT window */
/* MDCT window */
-const int16_t ac3_window[256] = {
+static const int16_t ac3_window[256] = {
4, 7, 12, 16, 21, 28, 34, 42,
51, 61, 72, 84, 97, 111, 127, 145,
164, 184, 207, 231, 257, 285, 315, 347,
@@ -144,27 +144,27 @@ static const uint8_t baptab[64]= {
15, 15, 15, 15,
};
-const uint8_t sdecaytab[4]={
+static const uint8_t sdecaytab[4]={
0x0f, 0x11, 0x13, 0x15,
};
-const uint8_t fdecaytab[4]={
+static const uint8_t fdecaytab[4]={
0x3f, 0x53, 0x67, 0x7b,
};
-const uint16_t sgaintab[4]= {
+static const uint16_t sgaintab[4]= {
0x540, 0x4d8, 0x478, 0x410,
};
-const uint16_t dbkneetab[4]= {
+static const uint16_t dbkneetab[4]= {
0x000, 0x700, 0x900, 0xb00,
};
-const uint16_t floortab[8]= {
+static const uint16_t floortab[8]= {
0x2f0, 0x2b0, 0x270, 0x230, 0x1f0, 0x170, 0x0f0, 0xf800,
};
-const uint16_t fgaintab[8]= {
+static const uint16_t fgaintab[8]= {
0x080, 0x100, 0x180, 0x200, 0x280, 0x300, 0x380, 0x400,
};