changeset 3962:2acfc35c3075 libavcodec

cleanup
author michael
date Sun, 08 Oct 2006 21:26:08 +0000
parents 573f56f4f846
children 075b3e6bdc05
files cabac.h
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Sun Oct 08 21:25:22 2006 +0000
+++ b/cabac.h	Sun Oct 08 21:26:08 2006 +0000
@@ -266,7 +266,6 @@
     c->bytestream+= CABAC_BITS/8;
 }
 
-#if 1 /* all use commented */
 static void refill2(CABACContext *c){
     int i, x;
 
@@ -285,7 +284,6 @@
     c->low += x<<i;
     c->bytestream+= CABAC_BITS/8;
 }
-#endif
 
 static inline void renorm_cabac_decoder(CABACContext *c){
     while(c->range < (0x200 << CABAC_BITS)){
@@ -398,8 +396,6 @@
         bit= ff_h264_norm_shift[RangeLPS>>17];
         c->low -= c->range;
         *state= c->lps_state[s];
-//        c->range = RangeLPS;
-//        renorm_cabac_decoder(c);
         c->range = RangeLPS<<bit;
         c->low <<= bit;
         bit= (s&1)^1;