From 03ac29c63fd3d5019c67b3662669b1c443896f0b Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sat, 29 Oct 2005 23:57:06 +0000 Subject: update libfaad2 to CVS snapshot 2004-09-15 CVS patchset: 7777 CVS date: 2005/10/29 23:57:06 --- src/libfaad/sbr_huff.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libfaad/sbr_huff.c') 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]; } -- cgit v1.2.3