diff options
| author | Magnus Holmgren <magnushol@gmail.com> | 2006-09-24 19:18:09 +0000 |
|---|---|---|
| committer | Magnus Holmgren <magnushol@gmail.com> | 2006-09-24 19:18:09 +0000 |
| commit | b842e93af0a5354830b814c27ced3b558a7127a4 (patch) | |
| tree | 9c14462fbd90cd052e7cf5e450b2d00ee0c79320 | |
| parent | 3fa5e5f5924306417c05cbc7a7f46a605c670996 (diff) | |
| download | rockbox-b842e93af0a5354830b814c27ced3b558a7127a4.zip rockbox-b842e93af0a5354830b814c27ced3b558a7127a4.tar.gz rockbox-b842e93af0a5354830b814c27ced3b558a7127a4.tar.bz2 rockbox-b842e93af0a5354830b814c27ced3b558a7127a4.tar.xz | |
Fix the warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11039 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/codecs/libfaad/huffman.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libfaad/huffman.c b/apps/codecs/libfaad/huffman.c index d1cc066..8b9e27b 100644 --- a/apps/codecs/libfaad/huffman.c +++ b/apps/codecs/libfaad/huffman.c @@ -50,7 +50,9 @@ static uint8_t huffman_binary_quad_sign(uint8_t cb, bitfile *ld, int16_t *sp); static uint8_t huffman_binary_pair(uint8_t cb, bitfile *ld, int16_t *sp); static uint8_t huffman_binary_pair_sign(uint8_t cb, bitfile *ld, int16_t *sp); static int16_t huffman_codebook(uint8_t i); +#ifdef ERROR_RESILIENCE static void vcb11_check_LAV(uint8_t cb, int16_t *sp); +#endif int8_t huffman_scale_factor(bitfile *ld) { @@ -311,6 +313,7 @@ static int16_t huffman_codebook(uint8_t i) else return (int16_t)data & 0xFFFF; } +#ifdef ERROR_RESILIENCE static void vcb11_check_LAV(uint8_t cb, int16_t *sp) { static const uint16_t vcb11_LAV_tab[] = { @@ -330,6 +333,7 @@ static void vcb11_check_LAV(uint8_t cb, int16_t *sp) sp[1] = 0; } } +#endif uint8_t huffman_spectral_data(uint8_t cb, bitfile *ld, int16_t *sp) { |