summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-12-27 11:51:28 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-04 01:09:54 +0100
commit9dec55748cd5cf371d8f3eb35bac073d285f0617 (patch)
treebe4fcea4a3fe9ef26dd3da57ff967c4fa2bb2195 /libavcodec/cabac.c
parente451c26c5f0bff9ced74ff6dfa3fce111fed1dbb (diff)
cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functions
Diffstat (limited to 'libavcodec/cabac.c')
-rw-r--r--libavcodec/cabac.c15
1 files changed, 0 insertions, 15 deletions
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<SIZE; i++){
-START_TIMER
- if( r[i] != get_cabac_u(&c, state, (i&1) ? 6 : 7, 3, i&1) )
- av_log(NULL, AV_LOG_ERROR, "CABAC unary (truncated) binarization failure at %d\n", i);
-STOP_TIMER("get_cabac_u")
- }
-
- for(i=0; i<SIZE; i++){
-START_TIMER
- if( r[i] != get_cabac_ueg(&c, state, 3, 0, 1, 2))
- av_log(NULL, AV_LOG_ERROR, "CABAC unary (truncated) binarization failure at %d\n", i);
-STOP_TIMER("get_cabac_ueg")
- }
-#endif
if(!get_cabac_terminate(&c))
av_log(NULL, AV_LOG_ERROR, "where's the Terminator?\n");