From 0f26eec23e8fa26661f5f806b8825cc4ce2c5381 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 12 Oct 2007 08:43:23 +0000 Subject: =?UTF-8?q?Disable=20unused=20code;=20fixes=20several=20gcc=20warn?= =?UTF-8?q?ings:=20cabac.h:112:=20warning:=20=E2=80=98put=5Fcabac=5Fstatic?= =?UTF-8?q?=E2=80=99=20defined=20but=20not=20used=20cabac.h:158:=20warning?= =?UTF-8?q?:=20=E2=80=98put=5Fcabac=5Fterminate=E2=80=99=20defined=20but?= =?UTF-8?q?=20not=20used=20cabac.h:186:=20warning:=20=E2=80=98put=5Fcabac?= =?UTF-8?q?=5Fu=E2=80=99=20defined=20but=20not=20used=20cabac.h:221:=20war?= =?UTF-8?q?ning:=20=E2=80=98put=5Fcabac=5Fueg=E2=80=99=20defined=20but=20n?= =?UTF-8?q?ot=20used=20cabac.h:273:=20warning:=20=E2=80=98refill2=E2=80=99?= =?UTF-8?q?=20defined=20but=20not=20used=20cabac.h:811:=20warning:=20?= =?UTF-8?q?=E2=80=98get=5Fcabac=5Fu=E2=80=99=20defined=20but=20not=20used?= =?UTF-8?q?=20cabac.h:827:=20warning:=20=E2=80=98get=5Fcabac=5Fueg?= =?UTF-8?q?=E2=80=99=20defined=20but=20not=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 10713 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cabac.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavcodec/cabac.h') diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index bb682d9498..f4feb493d7 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -90,6 +90,7 @@ static inline void renorm_cabac_encoder(CABACContext *c){ } } +#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 @@ static void put_cabac_ueg(CABACContext *c, uint8_t * state, int v, int max, int put_cabac_bypass(c, sign); } } +#endif /* 0 */ static void refill(CABACContext *c){ #if CABAC_BITS == 16 @@ -270,6 +272,7 @@ static void refill(CABACContext *c){ c->bytestream+= CABAC_BITS/8; } +#if 0 static void refill2(CABACContext *c){ int i, x; @@ -287,6 +290,7 @@ static void refill2(CABACContext *c){ c->low += x<bytestream+= CABAC_BITS/8; } +#endif static inline void renorm_cabac_decoder(CABACContext *c){ while(c->range < 0x100){ @@ -805,6 +809,7 @@ static int get_cabac_terminate(CABACContext *c){ } } +#if 0 /** * Get (truncated) unary binarization. */ @@ -860,5 +865,6 @@ static int get_cabac_ueg(CABACContext *c, uint8_t * state, int max, int is_signe }else return i; } +#endif /* 0 */ #endif /* CABAC_H */ -- cgit v1.2.3