summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-08 21:26:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-08 21:26:08 +0000
commit6ff042699fc0a0d9961880e92a9ee1553b035c22 (patch)
tree067c5b40280c21d6782f9d54f61d575a060d7201 /libavcodec/cabac.h
parenta10c779f76fb5aa6d437c3cd69ac88ad17a30308 (diff)
cleanup
Originally committed as revision 6594 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r--libavcodec/cabac.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index 3008792b21..4b89223b76 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -266,7 +266,6 @@ static void refill(CABACContext *c){
c->bytestream+= CABAC_BITS/8;
}
-#if 1 /* all use commented */
static void refill2(CABACContext *c){
int i, x;
@@ -285,7 +284,6 @@ static void refill2(CABACContext *c){
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 @@ asm(
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;