# HG changeset patch # User diego # Date 1192178603 0 # Node ID 2926fc2a03963d6c07d39f9ca46377761b1c0f33 # Parent 3e5e2bafe35cfceea7a21e620e59ecde7ef0daea Disable unused code; fixes several gcc warnings: cabac.h:112: warning: ¡Æput_cabac_static¡Ç defined but not used cabac.h:158: warning: ¡Æput_cabac_terminate¡Ç defined but not used cabac.h:186: warning: ¡Æput_cabac_u¡Ç defined but not used cabac.h:221: warning: ¡Æput_cabac_ueg¡Ç defined but not used cabac.h:273: warning: ¡Ærefill2¡Ç defined but not used cabac.h:811: warning: ¡Æget_cabac_u¡Ç defined but not used cabac.h:827: warning: ¡Æget_cabac_ueg¡Ç defined but not used diff -r 3e5e2bafe35c -r 2926fc2a0396 cabac.h --- a/cabac.h Thu Oct 11 22:31:08 2007 +0000 +++ b/cabac.h Fri Oct 12 08:43:23 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<bytestream+= CABAC_BITS/8; } +#endif static inline void renorm_cabac_decoder(CABACContext *c){ while(c->range < 0x100){ @@ -805,6 +809,7 @@ } } +#if 0 /** * Get (truncated) unary binarization. */ @@ -860,5 +865,6 @@ }else return i; } +#endif /* 0 */ #endif /* CABAC_H */