From 45ef963908f5ccc63161d4c3479ba8f2a56a7705 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 4 Nov 2013 21:14:03 +0100 Subject: mpegaudioenc: Move some static tables to MpegAudioContext This reduces global state and the amount of globally visible tables. --- libavcodec/mpegaudiotab.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libavcodec/mpegaudiotab.h') diff --git a/libavcodec/mpegaudiotab.h b/libavcodec/mpegaudiotab.h index 2addcb2630..d30ef1b752 100644 --- a/libavcodec/mpegaudiotab.h +++ b/libavcodec/mpegaudiotab.h @@ -79,15 +79,6 @@ static const int bitinv32[32] = { }; -static int16_t filter_bank[512]; - -static int scale_factor_table[64]; -static float scale_factor_inv_table[64]; -static unsigned char scale_diff_table[128]; - -/* total number of bits per allocation group */ -static unsigned short total_quant_bits[17]; - /* signal to noise ratio of each quantification step (could be computed from quant_steps[]). The values are dB multiplied by 10 */ -- cgit v1.2.3