[FFmpeg-cvslog] imc: remove unused field IMCContext.one_div_log2

Mans Rullgard git at videolan.org
Mon Aug 6 22:29:39 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Aug  5 22:36:09 2012 +0100| [b40ea0f41d35b9c65eafc7f63e0e9e54b6a12f26] | committer: Mans Rullgard

imc: remove unused field IMCContext.one_div_log2

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b40ea0f41d35b9c65eafc7f63e0e9e54b6a12f26
---

 libavcodec/imc.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/imc.c b/libavcodec/imc.c
index 8ee8e72..3ae8cc9 100644
--- a/libavcodec/imc.c
+++ b/libavcodec/imc.c
@@ -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);



More information about the ffmpeg-cvslog mailing list