summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-23 10:19:39 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-23 10:19:39 +0000
commitc46e28746c7e0e9f8812aaaf4f53d4351a1c3624 (patch)
treecf911504c9893a9f7907f6cbd216c3139e37ffb1 /libavcodec/cabac.h
parent79bfd0ef766b620c9ad5568d8f8cadfa0516498a (diff)
Put some disabled functions that are only used in the test program in cabac.c
under TEST as preprocessor conditional, same as the test program. Originally committed as revision 11601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r--libavcodec/cabac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index 4499cf3eb6..65e3a02dfc 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -90,7 +90,7 @@ static inline void renorm_cabac_encoder(CABACContext *c){
}
}
-#if 0
+#ifdef TEST
static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state];
@@ -260,7 +260,7 @@ static void put_cabac_ueg(CABACContext *c, uint8_t * state, int v, int max, int
put_cabac_bypass(c, sign);
}
}
-#endif /* 0 */
+#endif /* TEST */
static void refill(CABACContext *c){
#if CABAC_BITS == 16