Mercurial > libavcodec.hg
diff cabac.h @ 5752:af20477e9994 libavcodec
Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).
Blessed by Luca Barbato on IRC.
author | diego |
---|---|
date | Tue, 02 Oct 2007 12:34:43 +0000 |
parents | 9ad4e94cc5b8 |
children | 6e3cd570c312 |
line wrap: on
line diff
--- a/cabac.h Tue Oct 02 12:16:33 2007 +0000 +++ b/cabac.h Tue Oct 02 12:34:43 2007 +0000 @@ -90,6 +90,7 @@ } } +#if 0 static void put_cabac(CABACContext *c, uint8_t * const state, int bit){ int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state]; @@ -259,6 +260,7 @@ put_cabac_bypass(c, sign); } } +#endif /* 0 */ static void refill(CABACContext *c){ #if CABAC_BITS == 16 @@ -270,6 +272,7 @@ c->bytestream+= CABAC_BITS/8; } +#if 0 static void refill2(CABACContext *c){ int i, x; @@ -287,6 +290,7 @@ c->low += x<<i; c->bytestream+= CABAC_BITS/8; } +#endif static inline void renorm_cabac_decoder(CABACContext *c){ while(c->range < 0x100){ @@ -860,5 +864,6 @@ }else return i; } +#endif /* 0 */ #endif /* CABAC_H */