diff options
Diffstat (limited to 'src/libfaad/sbr_huff.c')
-rw-r--r-- | src/libfaad/sbr_huff.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libfaad/sbr_huff.c b/src/libfaad/sbr_huff.c index 0c7f5bc44..39ae32b9b 100644 --- a/src/libfaad/sbr_huff.c +++ b/src/libfaad/sbr_huff.c @@ -22,7 +22,7 @@ ** Commercial non-GPL licensing of this software is possible. ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. ** -** $Id: sbr_huff.c,v 1.6 2004/12/03 01:15:30 tmattern Exp $ +** $Id: sbr_huff.c,v 1.7 2005/10/29 23:57:07 tmmm Exp $ **/ #include "common.h" @@ -190,7 +190,6 @@ static const int8_t f_huffman_env_bal_3_0dB[24][2] = { { -57, -56 }, { 22, 23 }, { -55, -54 }, { -53, -52 } }; - static const int8_t t_huffman_noise_3_0dB[62][2] = { { -64, 1 }, { -63, 2 }, { -65, 3 }, { -66, 4 }, { -62, 5 }, { -67, 6 }, { 7, 8 }, { -61, -68 }, @@ -227,7 +226,7 @@ static INLINE int16_t sbr_huff_dec(bitfile *ld, sbr_huff_tab t_huff) while (index >= 0) { - bit = (uint8_t)faad_getbits(ld, 1); + bit = (uint8_t)faad_get1bit(ld); index = t_huff[index][bit]; } |