OSDN Git Service

imc: remove unused field IMCContext.one_div_log2
authorMans Rullgard <mans@mansr.com>
Sun, 5 Aug 2012 21:36:09 +0000 (22:36 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 6 Aug 2012 09:20:48 +0000 (10:20 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/imc.c

index 8ee8e72..3ae8cc9 100644 (file)
@@ -92,7 +92,6 @@ typedef struct {
 
     float sqrt_tab[30];
     GetBitContext gb;
-    float one_div_log2;
 
     DSPContext dsp;
     FFTContext fft;
@@ -227,7 +226,6 @@ static av_cold int imc_decode_init(AVCodecContext *avctx)
                      imc_huffman_bits[i][j], 2, 2, INIT_VLC_USE_NEW_STATIC);
         }
     }
-    q->one_div_log2 = 1 / log(2);
 
     if (avctx->codec_id == CODEC_ID_IAC) {
         iac_generate_tabs(q, avctx->sample_rate);