Mercurial > libavcodec.hg
diff cabac.h @ 2522:e25782262d7d libavcodec
kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author | michael |
---|---|
date | Thu, 24 Feb 2005 19:08:50 +0000 |
parents | 1c39d9786efd |
children | aaa8b65d1253 |
line wrap: on
line diff
--- a/cabac.h Thu Feb 24 16:39:03 2005 +0000 +++ b/cabac.h Thu Feb 24 19:08:50 2005 +0000 @@ -264,6 +264,7 @@ c->bytestream+= CABAC_BITS/8; } +#if 0 /* all use commented */ static void refill2(CABACContext *c){ int i, x; @@ -282,7 +283,7 @@ c->low += x<<i; c->bytestream+= CABAC_BITS/8; } - +#endif static inline void renorm_cabac_decoder(CABACContext *c){ while(c->range < (0x200 << CABAC_BITS)){ @@ -303,7 +304,7 @@ static inline int get_cabac(CABACContext *c, uint8_t * const state){ int RangeLPS= c->lps_range[*state][c->range>>(CABAC_BITS+7)]<<(CABAC_BITS+1); - int bit, lps_mask; + int bit, lps_mask attribute_unused; c->range -= RangeLPS; #if 1