From e451c26c5f0bff9ced74ff6dfa3fce111fed1dbb Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 27 Dec 2011 12:25:18 +0100 Subject: cabac: drop unused STRICT_LIMITS code branch --- libavcodec/cabac.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavcodec/cabac.h') diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 126064276a..b3f8f55da3 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -41,9 +41,6 @@ typedef struct CABACContext{ int low; int range; int outstanding_count; -#ifdef STRICT_LIMITS - int symCount; -#endif const uint8_t *bytestream_start; const uint8_t *bytestream; const uint8_t *bytestream_end; -- cgit v1.2.3 From 9dec55748cd5cf371d8f3eb35bac073d285f0617 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 27 Dec 2011 11:51:28 +0100 Subject: cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functions --- libavcodec/cabac.c | 15 -------------- libavcodec/cabac.h | 58 ------------------------------------------------------ 2 files changed, 73 deletions(-) (limited to 'libavcodec/cabac.h') diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c index 25713ee3ea..bcb242936e 100644 --- a/libavcodec/cabac.c +++ b/libavcodec/cabac.c @@ -343,21 +343,6 @@ START_TIMER av_log(NULL, AV_LOG_ERROR, "CABAC failure at %d\n", i); STOP_TIMER("get_cabac") } -#if 0 - for(i=0; i>=1){ - v+= v + get_cabac_bypass(c); - } - i += v; - - if(is_signed && get_cabac_bypass(c)){ - return -i; - }else - return i; -} -#endif /* 0 */ - #endif /* AVCODEC_CABAC_H */ -- cgit v1.2.3