summaryrefslogtreecommitdiff
path: root/libavcodec/atrac3.c
diff options
context:
space:
mode:
authorMaxim Poliakovski <max_pole@gmx.de>2013-10-10 09:59:03 +0200
committerDiego Biurrun <diego@biurrun.de>2013-10-10 14:26:13 +0200
commitbe7641504737f2f0009f1cc12e1ec93413e43608 (patch)
tree2c2ec7d9f1f6fdaca2beec470da0e28cb635dab5 /libavcodec/atrac3.c
parent2df7f7714a12a59d31058aba15fb1e348e36b0ab (diff)
downloadffmpeg-be7641504737f2f0009f1cc12e1ec93413e43608.tar.gz
atrac3: Remove unused gain compensation tables
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/atrac3.c')
-rw-r--r--libavcodec/atrac3.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
index 5378d956d2..8380c178dc 100644
--- a/libavcodec/atrac3.c
+++ b/libavcodec/atrac3.c
@@ -114,9 +114,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
@@ -792,13 +789,6 @@ static av_cold void atrac3_init_static_data(AVCodec *codec)
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] = powf(2.0, (4 - i));
-
- for (i = -15; i < 16; i++)
- gain_tab2[i + 15] = powf(2.0, i * -0.125);
}
static av_cold int atrac3_decode_init(AVCodecContext *avctx)