summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMaxim Poliakovski <max_pole@gmx.de>2013-10-10 10:49:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-10 18:33:07 +0200
commit4fb8de08e1107db9a42fd4e6e4a72a8ebc5439fa (patch)
treedc40f4cdc6e5cea8c0ec071b1465c39a4ec48816 /libavcodec
parenta830915b78e2d96f08dc93b2d1c4330448b83ffd (diff)
atrac3: Remove unused gain compensation tables
Patch by Diego Biurrun. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/atrac3.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
index 5fdb363009..b81fdfa687 100644
--- a/libavcodec/atrac3.c
+++ b/libavcodec/atrac3.c
@@ -115,9 +115,6 @@ typedef struct ATRAC3Context {
static DECLARE_ALIGNED(32, float, mdct_window)[MDCT_SIZE];
static VLC_TYPE atrac3_vlc_table[4096][2];
static VLC spectral_coeff_tab[7];
-static float gain_tab1[16];
-static float gain_tab2[31];
-
/**
* Regular 512 points IMDCT without overlapping, with the exception of the
@@ -791,13 +788,6 @@ static av_cold void atrac3_init_static_data(void)
huff_bits[i], 1, 1,
huff_codes[i], 1, 1, INIT_VLC_USE_NEW_STATIC);
}
-
- /* Generate gain tables */
- for (i = 0; i < 16; i++)
- gain_tab1[i] = exp2f (4 - i);
-
- for (i = -15; i < 16; i++)
- gain_tab2[i + 15] = exp2f (i * -0.125);
}
static av_cold int atrac3_decode_init(AVCodecContext *avctx)