Mercurial > libavcodec.hg
changeset 6170:8cbfc9d75833 libavcodec
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.
author | diego |
---|---|
date | Wed, 23 Jan 2008 10:19:39 +0000 |
parents | 43dd78019c14 |
children | 1c0477262c72 |
files | cabac.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cabac.h Wed Jan 23 10:18:08 2008 +0000 +++ b/cabac.h Wed Jan 23 10:19:39 2008 +0000 @@ -90,7 +90,7 @@ } } -#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 @@ put_cabac_bypass(c, sign); } } -#endif /* 0 */ +#endif /* TEST */ static void refill(CABACContext *c){ #if CABAC_BITS == 16