summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/huffman.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libfaad/huffman.c')
-rw-r--r--apps/codecs/libfaad/huffman.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libfaad/huffman.c b/apps/codecs/libfaad/huffman.c
index 8b9e27b553..c142ad7ac7 100644
--- a/apps/codecs/libfaad/huffman.c
+++ b/apps/codecs/libfaad/huffman.c
@@ -124,7 +124,7 @@ static INLINE int16_t huffman_getescape(bitfile *ld, int16_t sp)
124{ 124{
125 uint8_t neg, i; 125 uint8_t neg, i;
126 int16_t j; 126 int16_t j;
127 int16_t off; 127 int16_t off;
128 128
129 if (sp < 0) 129 if (sp < 0)
130 { 130 {
@@ -500,14 +500,14 @@ int8_t huffman_spectral_data_2(uint8_t cb, bits_t *ld, int16_t *sp)
500 break; 500 break;
501 } 501 }
502 502
503 /* decode sign bits */ 503 /* decode sign bits */
504 if (unsigned_cb[cb]) 504 if (unsigned_cb[cb])
505 { 505 {
506 for(i = 0; i < ((cb < FIRST_PAIR_HCB) ? QUAD_LEN : PAIR_LEN); i++) 506 for(i = 0; i < ((cb < FIRST_PAIR_HCB) ? QUAD_LEN : PAIR_LEN); i++)
507 { 507 {
508 if(sp[i]) 508 if(sp[i])
509 { 509 {
510 uint8_t b; 510 uint8_t b;
511 if ( get1bit_hcr(ld, &b) ) return -1; 511 if ( get1bit_hcr(ld, &b) ) return -1;
512 if (b != 0) { 512 if (b != 0) {
513 sp[i] = -sp[i]; 513 sp[i] = -sp[i];