diff options
Diffstat (limited to 'decoder/ixheaacd_huff_code_reorder.c')
-rw-r--r-- | decoder/ixheaacd_huff_code_reorder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder/ixheaacd_huff_code_reorder.c b/decoder/ixheaacd_huff_code_reorder.c index a9d6ffd..8ca6061 100644 --- a/decoder/ixheaacd_huff_code_reorder.c +++ b/decoder/ixheaacd_huff_code_reorder.c @@ -675,7 +675,7 @@ static PLATFORM_INLINE UWORD16 *ixheaacd_huff_dec_pair_hcr_pcw( ixheaacd_aac_read_byte_corr(&ptr_read_next, bit_pos, read_word, it_bit_buff->ptr_bit_buf_end); } - + *bit_pos = max(0, *bit_pos); read_word1 = *read_word << *bit_pos; ixheaacd_huffman_decode(read_word1, &index, &length, code_book_tbl, idx_table); @@ -814,7 +814,7 @@ static PLATFORM_INLINE UWORD16 *ixheaacd_huff_dec_quad_hcr_pcw( ixheaacd_aac_read_byte_corr(&ptr_read_next, bit_pos, read_word, it_bit_buff->ptr_bit_buf_end); } - + *bit_pos = max(0, *bit_pos); read_word1 = *read_word << *bit_pos; ixheaacd_huffman_decode(read_word1, &index, &length, code_book_tbl, idx_table); @@ -944,7 +944,7 @@ static UWORD16 *ixheaacd_huff_dec_word_hcr_pcw( ixheaacd_aac_read_byte_corr1(&ptr_read_next, bit_pos, read_word, it_bit_buff->ptr_bit_buf_end); } - + *bit_pos = max(0, *bit_pos); read_word1 = *read_word << *bit_pos; ixheaacd_huff_sfb_table(read_word1, &index, &length, code_book_tbl, idx_table); |