Changeset 285


Ignore:
Timestamp:
04/20/07 23:17:38 (18 years ago)
Author:
r2d
Message:

pow works with msvc, not powf

File:
1 edited

Legend:

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

    r284 r285  
    503503                peak = 1.;
    504504        else
    505                 peak = (1 << 15) / powf(10, peak / (20 * 256));
     505                peak = (1 << 15) / pow(10, peak / (20 * 256));
    506506
    507507        if(!gain)
    508508                gain = 1.;
    509509        else
    510                 gain = powf(10, (level - gain / 256) / 20);
     510                gain = pow(10, (level - gain / 256) / 20);
    511511
    512512        if(clip_prevention && (peak < gain || !use_gain))
Note: See TracChangeset for help on using the changeset viewer.