From 64d779f2f7607070a87b0a70edeba5e51834ce85 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 12 Jan 2012 21:11:27 +0100 Subject: cabac: Remove ff_h264_lps_state array. It was only ever used in the cabac test program, but never initialized. --- libavcodec/cabac.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/cabac.c') diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index 54414fa1e5..1de45841ea 100644 --- a/libavcodec/cabac.c +++ b/libavcodec/cabac.c @@ -51,7 +51,6 @@ static const uint8_t lps_range[64][4]= { uint8_t ff_h264_mlps_state[4*64]; uint8_t ff_h264_lps_range[4*2*64]; -uint8_t ff_h264_lps_state[2*64]; uint8_t ff_h264_mps_state[2*64]; static const uint8_t mps_state[64]= { @@ -196,7 +195,6 @@ static void put_cabac(CABACContext *c, uint8_t * const state, int bit){ }else{ c->low += c->range - RangeLPS; c->range = RangeLPS; - *state= ff_h264_lps_state[*state]; } renorm_cabac_encoder(c); -- cgit v1.2.3