aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-12-27 11:37:31 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-06 13:37:55 +0100
commit3aa3fc45feab2316261e16987f0d5bc0f03f72f7 (patch)
tree4b74dc9d8d177071c7cf68ff1e7be56b564bd685
parent301fb9213198e163516c66906650c9985f66cdd2 (diff)
downloadffmpeg-3aa3fc45feab2316261e16987f0d5bc0f03f72f7.tar.gz
cabac: remove unused function renorm_cabac_decoder
-rw-r--r--libavcodec/cabac.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index aff6495e29..b0d056def0 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -97,15 +97,6 @@ static void refill(CABACContext *c){
c->bytestream+= CABAC_BITS/8;
}
-static inline void renorm_cabac_decoder(CABACContext *c){
- while(c->range < 0x100){
- c->range+= c->range;
- c->low+= c->low;
- if(!(c->low & CABAC_MASK))
- refill(c);
- }
-}
-
static inline void renorm_cabac_decoder_once(CABACContext *c){
int shift= (uint32_t)(c->range - 0x100)>>31;
c->range<<= shift;