mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 15:12:30 -05:00
Sync rockbox to r475 of musepack's svn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30240 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7bbd7daaf7
commit
7155be6ca4
6 changed files with 140 additions and 85 deletions
|
|
@ -136,6 +136,8 @@ mpc_int32_t mpc_bits_golomb_dec(mpc_bits_reader * r, const mpc_uint_t k)
|
|||
mpc_uint32_t mpc_bits_log_dec(mpc_bits_reader * r, mpc_uint_t max)
|
||||
{
|
||||
mpc_uint32_t value = 0;
|
||||
if (max == 0)
|
||||
return 0;
|
||||
if (log2[max - 1] > 1)
|
||||
value = mpc_bits_read(r, log2[max - 1] - 1);
|
||||
if (value >= log2_lost[max - 1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue