Ignore:
Timestamp:
11/24/06 19:18:18 (17 years ago)
Author:
r2d
Message:
  • updated libmpcenc / libmpcdec according to the spec
  • added seek table loading from file in libmpcdec
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libmpcdec/streaminfo.c

    r149 r150  
    173173        mpc_bits_get_size(&r, &si->samples);
    174174        si->is_true_gapless = 1;
    175         si->sample_freq = samplefreqs[mpc_bits_read(&r, 4)];
     175        si->sample_freq = samplefreqs[mpc_bits_read(&r, 3)];
    176176        si->channels = mpc_bits_read(&r, 4) + 1;
    177177        si->max_band = mpc_bits_read(&r, 5) + 1;
    178178        si->ms = mpc_bits_read(&r, 1);
    179         si->block_pwr = mpc_bits_read(&r, 4);
     179        si->block_pwr = mpc_bits_read(&r, 3) * 2;
    180180
    181181        si->bitrate = 0;
Note: See TracChangeset for help on using the changeset viewer.