Unified · Split
| @@ -247,7 +247,7 @@ static void read_quant_spectral_coeffs(GetBitContext *gb, int selector, · 246 unmodified lines | ||
| 247 | 247 | if (selector != 1) { |
| 248 | 248 | for (i = 0; i < num_codes; i++) { |
| 249 | 249 | huff_symb = get_vlc2(gb, spectral_coeff_tab[selector-1].table, |
| 250 | − ATRAC3_VLC_BITS, 3); | |
| 250 | + ATRAC3_VLC_BITS, 1); | |
| 251 | 251 | huff_symb += 1; |
| 252 | 252 | code = huff_symb >> 1; |
| 253 | 253 | if (huff_symb & 1) |
| @@ -257,7 +257,7 @@ static void read_quant_spectral_coeffs(GetBitContext *gb, int selector, · 3 unmodified lines | ||
| 257 | 257 | } else { |
| 258 | 258 | for (i = 0; i < num_codes; i++) { |
| 259 | 259 | huff_symb = get_vlc2(gb, spectral_coeff_tab[selector - 1].table, |
| 260 | − ATRAC3_VLC_BITS, 3); | |
| 260 | + ATRAC3_VLC_BITS, 1); | |
| 261 | 261 | mantissas[i * 2 ] = mantissa_vlc_tab[huff_symb * 2 ]; |
| 262 | 262 | mantissas[i * 2 + 1] = mantissa_vlc_tab[huff_symb * 2 + 1]; |
| 263 | 263 | } |