# HG changeset patch # User diego # Date 1201083579 0 # Node ID 8cbfc9d758333e63fce066a15cb541272f8e0763 # Parent 43dd78019c1491484edcd46bc3e09cc32ece7aea 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. diff -r 43dd78019c14 -r 8cbfc9d75833 cabac.h --- 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